Simple Backup
Simple backup
Works with 1.10.x and up
If you have any problems with the plugin not working leave a comment!
What can I use this for?
Simple Backup is a plugin to zip up your minecraft server worlds to a folder so you can:
- Let your users download them via file sharing websites such as mediafire
- Roll back your map
Commands:
- /sbackup - Force a backup of your world by running. Can only be ran by OPs or from the server console.
Providing error reports:
When pasting large amounts of text please use http:pastebin.com or http:dev.bukkit.org/paste/. They are completely free and makes it easier for me to read any error messages you provide.
Also provide your SimpleBackup config file and the version of the plugin you are using, when stating you have a problem, so I can see if that's the problem instead.
Configuring:
Click here for an explanation of how to configure this plugin.
Rolling Back Maps:
Click here for how to roll back your maps.
Updates:
This plugin is generally updated when a significant change (new features or bugfixes) has been made to it. The plugin uses only a small number of very basic Bukkit API calls, so it most probably won't break on Bukkit updates. If it does break, we'll update it as soon as possible.
Want to help me out?
You can donate to Simple Backup if you love the plugin to bits and want to show me some support by clicking the donate button in the top right! Don't want to or can't donate?, then just leave a comment showing me support instead.
Thanks for any support you give me, and enjoy simple backup!
Source Code
The source code for this plugin can be found on Github here: SimpleBackup Git Repository
Thanks to Mantun for submitting my first pull request and consistent code changes and improvements! Github
-
View User Profile
-
Send Message
Posted Feb 27, 2013@SN4T14
It would also be interesting to share the times for the different compression methods, better compression is usually at the cost of slower compression. That said, I agree that the default Java zip implementation is not impressive by any measure.
-
View User Profile
-
Send Message
Posted Feb 26, 2013@mantun
It's at 0.1, so 10 backups per hour, and it seems to have fixed itself magically, because now it's behaving properly.
Follow up question, could you implement solid archives? They'll improve the compression ratios a lot, especially for flat worlds, and a setting would be nice for those who need to extract individual chunks, too, the only downside would be that you'd need to use another compression algorithm, since Deflate and Deflate64 don't support it, but LZMA, for example, will get better compression ratios, speed, and support solid archives, I'll edit this post in a bit with a comparison between Deflate64 and LZMA at normal settings.
Edit: Okay, results are in, this is a 1.71GB world that's generated using the PlotMe plugin, with about an 11x11 square of 80x80 block plots densely covered, with some builds here and there spread out around the world.
Using standard Deflate64 settings (64KB dictionary, 32 word size) I got a 208MB archive.
Using standard LZMA settings (16MB dictionary, 32 word size) and a non-solid archive, I got a 148MB archive.
Using the same LZMA settings with a 2GB solid block size (effectively all of it) archive, I got a 67.3MB archive, that's 32.36% of the Zip archive, or 3.84% of the folder that's only Zlib compressed for each chunk.
I'll report back with more stats, and a better test setup tomorrow.
-
View User Profile
-
Send Message
Posted Feb 26, 2013nice plugin!
-
View User Profile
-
Send Message
Posted Feb 26, 2013how do i recover a backup if the zipped directories are empty?
-
View User Profile
-
Send Message
Posted Feb 25, 2013@jwmpine Can you, please, paste your config at http://dev.bukkit.org/paste/ and post here the link? Also, please, try to issue the 'sbackup' command from the console and paste any messages that appear?
-
View User Profile
-
Send Message
Posted Feb 25, 2013@SN4T14 Can you, please, tell me what is the value of backup-interval-hours?
-
View User Profile
-
Send Message
Posted Feb 24, 2013Any reason why this plugin failed...
I have it set up in 12 hour rotations to backup the selected worlds, on bootup it says it loads, doesn't throw any errors so I never check to see if it's doing backups. Come today and need a backup because of a java error, and i find out the plugin failed hard...and hasn't backed up any of the worlds since jan. Even though the config says its suppose too.
-
View User Profile
-
Send Message
Posted Feb 21, 2013Why do I only have one backup per day with this config?
intervals:
- 1h
- 4h
- 1d
- 3d
- 4w
- 30w
interval-frequencies:
- 20m
- 30m
- 4h
- 1d
- 5d
- 30d
-
View User Profile
-
Send Message
Posted Feb 14, 2013@honeychook
Can you try to edit the config file while the server is stopped? If it works ok when the server starts again, I'll try to reproduce the config reset issue on a test server. Thanks.
-
View User Profile
-
Send Message
Posted Feb 13, 2013How can I get the Plugin to backup other folders in my Tekkit server?
I have tried adding the path /buildcraft to the config, however after a server reboot the config file resets itself.
Any ideas on what I could be doing wrong?
Thanks!
-
View User Profile
-
Send Message
Posted Feb 8, 2013@pungen93
This is strange, can you paste me the logs from the startup and from the /sbackup command?
To disable automatic backups, please see here: http://dev.bukkit.org/server-mods/simplebackup/?comment=199
-
View User Profile
-
Send Message
Posted Feb 8, 2013@codedonut
Currently we have no plans to backup different worlds at different times.
You can configure the schedule to keep up to N backups: See here http://dev.bukkit.org/server-mods/simplebackup/?comment=203 for example.
-
View User Profile
-
Send Message
Posted Feb 7, 2013Can you make an option so that /sbackup backups all the worlds in the list, instead of just the main worlds and the world you're currently in.
Also an option to disable the automatic backups completely would be cool, I got limited diskspace I don't want to risk anything.
-
View User Profile
-
Send Message
Posted Feb 7, 2013this plugin would be awesome if you could set different backup times for different worlds..
and also rather than a delete schedule, a backup amount limit.. so say keep 6 backups of a world and on the 7th backup, delete the oldest in place of the newest.
-
View User Profile
-
Send Message
Posted Feb 4, 2013@cdh0127
When backup-empty-server is false, backups will be skipped if no one logged in since the last backup. So, in your example the backup will not be canceled.
-
View User Profile
-
Send Message
Posted Feb 2, 2013Question about the "backup-empty-server"; If my interval is at 1HR, and the last person logs off, leaving the server empty, after 55 mins, the backup that was going to begin in 5 mins will be canceled, and everything players did during those 55 mins will not be backed up.
Is this true? I'm confused on how this works.
Thanks, Caleb
-
View User Profile
-
Send Message
Posted Jan 27, 2013@GodWar101
Please, look here: http://dev.bukkit.org/server-mods/simplebackup/?comment=119
-
View User Profile
-
Send Message
Posted Jan 26, 2013Suggestion:
Support for colors in backup-message, custom-backup-message and custom-backup-message-end setting in the config.yml
-
View User Profile
-
Send Message
Posted Jan 23, 2013@crussell52
Hi! The plugin cannot possibly know whether anyone was logged in before the restart, so it just assumes that the worlds need to be backed up again. The only way around it is to save the logged-in information in a file, but I really don't want to do that.
You can try to synchronize the backup to be before the restart - that way the you'll have unnecessary backups only if no one is online for the whole day. This setup can be dangerous, because if the backup takes more time, the restart may kick-in and leave you with an incomplete backup and what is worse, you won't even know if backup is incomplete.
-
View User Profile
-
Send Message
Posted Jan 22, 2013Hi! Thanks for this plugin. :)
I have a scenario which seems to negate the effects of the "backup-empty-server" flag.
Simply put, it seems to lose track of whether or not a user has logged in since the last backup when the server is restarted.
I have a script which performs nightly maintenance on the server including a restart. As a result, I am getting unnecessary backups. That also means I have multiple backups with the same data.
Any thoughts on this?