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.
In reply to blankair:
In reply to Zombie_Striker_bukkit:
Let it run on the .19 version for a day. Seems to backup just fine minus the mysql. But its set to every hour but seems to be only activating every 3 hours. Also trying the newest version yielded the same results as the previous error.
In reply to blankair:
There may have been an issue with the timer if the Async thread tried saving the worlds while it was out of sync with the main thread. I'll be releasing an update soon that should fix this issue.
In reply to Zombie_Striker_bukkit:
Thanks man you're the best!
How do I restore my files?
In reply to REDxAZZU:
If you have a backup, use /sr restore <backup> to restore the server to that backup.
In reply to Zombie_Striker_bukkit:
It keeps crashing what do I do.
In reply to REDxAZZU:
Can you post the server logs and crash logs?
In reply to Zombie_Striker_bukkit:
In reply to REDxAZZU:
Now it says null restoration complete but doesn't restore anything.
In reply to REDxAZZU:
There was most likely an issue when overriding the files. The error is stating that the restorer could not rewrite one of the files, so it crashed. This should only happen if a file is in used (e.g. being written to or being read), which shouldn't be happening when the server is being restored.
I'll try to release an update to get around this issue.
As for the null issue, this is an issue with the config. Try reloading the server and see if the config regenerates and fixes the problem.
In reply to Zombie_Striker_bukkit:
Is there a way to unzip the backup folder manually.
In reply to REDxAZZU:
Yes. You should be able to use WinRAR or 7zip to open the files.
In reply to Zombie_Striker_bukkit:
When I unzip it, it just shows the backup folder with the same backup and just repeats. Is there and an end to this? The entire server file is now up to 256GB of data what can I do.
In reply to REDxAZZU:
If the backup directory is inside the server directory, make sure that the name of the backup directory is added to the exception list in the config to make sure it does not get backed up as well. By default, the exception list should already contain the backups, but if it does not, you may need to manually add it.
In reply to Zombie_Striker_bukkit:
Where is the config file
can you tell me also how to change the max save size?
In reply to llwinchester_hots:
In the config.yml, set "MaxSaveSize" to the maximum size the folder should be before it deletes the oldest backup.
In reply to Zombie_Striker_bukkit:
can you give me an example of how to do this in the conf file?
In reply to llwinchester_hots:
MaxSaveSize: 100G
This is the default value. This will save up to 100GB before deleting the oldest file
MaxSaveSize: 5G
If you're more limited on space, use the above, which limits it to 5Gb.