★ BACKUP SCRIPT FOR LINUX VPS (SETUP IN DESC)★

GUIDE ★ BACKUP SCRIPT FOR LINUX VPS (SETUP IN DESC)★ 1.0

★ BACKUP SCRIPT FOR LINUX VPS (SETUP IN DESC)★
This script is a really EASY script! And it's not obfuscated so you can change it how'd you like!

What it does is that it copies a folder called "Server" in a folder called "temp" then it zips it in a .zip called "backup.zip" and deletes the "temp" folder!

How to setup it:
So first thing off, you have to run this command
apt install unzip zip -y
When it's done you have to put zip.sh with FTP in your /root folder or where the server folders are, then create a folder with the name "Server" with this command:
mkdir Server
And move all your server folder like hub, faction, bungeecord on the Server folder with the command:
mv foldername Server
And the file .zip should stay in the same directory as the folder "Server", then run this command:
chmod 775 zip.sh
If you done everything correctly it should look like this:
9lupicV.png

Then when you feel like doing a backup run:
./zip.sh
Be aware that the last backup you created will be deleted and it'll create another one with the same name.

Sorry for my broken English I'm not very good at it. If something is unclear just pm me or comment on the discussion page and I'll answer.

Similar resources

32 Prison Mines + Spawn | HUGE PACK | HQ |★ BlackSpigot.com
5.00 star(s) 2 ratings
Downloads
1,443
Updated
BlackSpigot General Chat
Rules Help Users
    N @ NabixEnd: hi
    Top