ServerRestorer
ServerRestorer
A bukkit plugin for backing up your server.
Features:
- Backs-up the full server directory, including plugins, worlds, and config/property files.
- Compresses backups. Can reduces the files down to 1/4th the size.
- Includes automatic scheduled backups. Delay between backups is configurable.
- Anti-Lag: Your server will not freeze when backups occur.
- Fast backups: Saving servers can take less than a minute.
- Small plugin size.
- Supports FTP: Upload your backups to your home computer
- Backup limits: If you're limited on space, you can configure limits to the amount of backups that are stored.
- Will be continuously updated.
Compression:
Using compression techniques, we can decrease the backup size by up to 300%. When tested, this plugin can reduce a 2.82GB server down to just 0.98GB.
Removes useless files:
ServerRestorer has built in filters to make sure you are not saving useless files. Files such as logs files, which can be GBs in size full of console spam, and server.jar files, which cannot change, are not included in backups. Doing this can reduce the back file size by GBs. If you wish to store these files in the backups for some reason, you can always enable serverjar backups in the config.
FTP:
ServerRestorer supports FTP! You can now transfer backups directly from the server to your home computer or to another server.
Commands:
- /sr save - Forces the save
- /sr reload - Restores the server back to a previous backup
- /sr enableAutoSaver [delay] - Changes the auto saver delay
- /sr disableAutoSaver - Disables the autosaver.
Permissions:
- "serverrestorer.*" - Contains all the permissions below
- "serverrestorer.save" - Allows the user to access /sr commands.
This plugin collects stats using bStats:
Bestats only collects information regarding your system architecture, the server version, and plugin version. If you really do not want any of this information being sent, you can disable bstats by going into the config and setting: "enableStats" to false.
how should I specify which folders should I save? This is very confusing. This is my conf
https://pastebin.com/ML2KRQWR
In reply to llwinchester_hots:
"getBackupFileDirectory" controls which directory the backup files are saved to. Its empty by default so that the backup files are automatically put in the server directory. If you wish to change it, put the full path to the directory you want to save the file to.
Hello!
I'm having trouble with this plugin - it generated a save file with a size of 407 GB, which seems MUCH too large. We're running a server for about 20 people, but it's only a few days old. I set the config to save every 1H, but I only see one backup since installing the plugin two days ago. Am I missing something?
In reply to parallax_plays:
That is really odd.
First, can you attempt to open the 400GB file? If you can, what is inside it? Is it just the server directory, or is it possible that it is trying to save other files on the drive?
As for the backup times, back-checks are normally done every couple of hours, but there is a cap automatically set up so it will delete older backups if the backups folder is too large (the exact maximum size is defined in the config). Since the zip is 400GB, that one file goes over the max size, so that file is most likely replaced every hour.
Hello the plugin does the backups internaly but it does not trasfer the files to my FTP server, i did enable FTP and wrote the IP, username, password, FTP directory. But even after that no files are showing up on the FTP server and i dont get any error message from the minecraft server terminal.
Plugin is easy to use and easy to set up. I'm running into a small issue though, once maxSaveSize is reached:
"Backup-2019-01-10-14-10-12.zip: This save goes over the max savesize, and has just deleted the oldest file. If you wish to save older backups, copy them to another location."
But instead of oldest file it removes the most recent one. Using default config and haven't changed file naming. FileNameFormat is the default: Backup-%date% and thus are saved as "Backup-2019-01-10-16-10-44.zip"
In reply to Forge_User_81198930:
I just came here to report this too.
When the size of backups goes over MaxSaveSize, the newest backup is deleted to make space instead of the oldest. This means it keeps really old backups and not the more recent ones (which would be the ones we want).
In reply to leglesslass35803:
This backup date issue has been fixed in the new update.
Great plugin! One question, is there a way to remove backups older than a certain age? We use an SSD and if not monitored after a few days it would fill it up fast.
Thanks
In reply to cauliflower69:
Hi,
Thank you for this plugin. Could you consider adding a way to exclude certain directories or plugins? I use dynmap and the majority of my backup is the map being backed up which isn't necessary since if I lost everything I could just tell the map to regenerate.
In reply to TheManTV:
Hi,
First of all, great plugin. Used it to save the backups onto the server itself and it has worked great.
Problem now is, I want to use an FTP server to host the backups on.
Lets say my FTP adress is 'ftp-test.com'. On here I have a folder called /drive. How would I put that in the 'getBackupFileDirectory:' argument?
Like, 'getBackupFileDirectory: ftp-test.com/drive' ?
Because whatever I have tried I always get this error:
https://paste.md-5.net/kabonohepo.avrasm
UPDATE: I've got it to work (a bit) now, but I get this error after the FTP Transfer:
> [12:17:56 INFO]: [ServerRestorer] Something failed (maybe)! Status=null
Thanks!
In reply to Forge_User_63053495:
Jusy an FYI ! ! !
It saved my 3.4GB Server to 2.2GB Backup in 30 mins.
And it will alert you in chat you when it is done ! ! !
Also I got error on initial startup, but restarted server and all is fine........
Finally, I suggest you change backup location or move completed backup out of your server location, so you're not backing up the backup. this will cause backups to be bigger and take more time to run the backup.
As Always...............great job ZombieStryker
In reply to DjSpecialK:
How do you set the backup file directory?
Also what is Autosave Delay value = 1D is that once a day?
If so can i do it more often automatically instead of command /sr save ?
Ignore the 1D Question ......I see in comments that you already answered it.
Sorry
In reply to DjSpecialK:
My server does auto backups internally , but I also do backups from my server to my local NAS via FTP. Can I automate that process with this plugin?
In reply to Forge_User_88610253: