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
@Straw_the_Berry
You'll be able to disable scheduled backup by setting backup-interval to 0 in the next plugin update. Currently we have no plans to add parameters to the /sbackup command.
Am I able to set the backup time to "never" or anything of the such? I do not wish to have it automatically back up my world.
Also, when performing the /sbackup command, can you specify worlds like /sbackup world1?
Thanks
@EpikYummeh You are totally correct.
<<reply 964981="">>
You can choose to backup all of your servers' worlds, or you can list the ones you want to back up by listing them in the config file near the top...
I believe I have the YAML formatting correct. I'm still getting used to it.
Can you backup just a particular world or was this option removed from the config?
@deleted_8591593 You can already change the color of the messages, use e.g.:
After the '\u00A7' part, specify the color you want - in this case 'e' means the text will be yellow. Don't forget the double quotes.
New update everyone, fix for backups failing due to locked files. Waiting for approval. Pull #16
@sam288
If you mean a permissions node there isn't one. The command '/sbackup' is ran by server ops or from the console.
whats the node??
@mantun
I run a dual-processor with 4 threads. For the most part, it does not lag the server. I do see the Overloaded messages popup every 5min or so (not consistently though). I want to be able to distinguish between the backup running and other things that may cause those Overloaded messages. The only way I know that a back up is still running is to look back in history and find the backup message displayed 15-25 minutes ago that is hidden between player commands and chat. That is my main concern but letting recently-logged-on players know that a backup is in progress which excuses any lag they may have isn't bad either.
@DoctorBoyd Thank you for checking this, I'll make sure copying works as well.
@mantun
Thanks again for looking into it. More info...
I have a complete backup of the worlds but the plugins folder backup stopped at "M' when it reached the multiverse lock file.
Looks like all folders and plugins were copied alphabetically up to 'M'. I believe if I had still had chest restock it would've stopped at 'C' again. This was with 'disable-zipping:true'
@Errored Why do you need players to know the backup is running? The backup is done in its own thread, so if you have a multicore CPU, it should not lag the server. Or maybe the hard drive is slow so they see the chunks loading slower?
@DoctorBoyd Yes, I noticed that too. Although it complains for that file, the copying actually continues, so you still have a complete backup. The zipping just stops, though. For reference, I've filed an issue here: http://github.com/Exolius/SimpleBackup/issues/15
My world is over 2GB and backing it up takes over 30min, while this isn't an issue in itself, I would like this plugin to announce that is still backing up every 5 min while it is backing up the words, so my players know that a backup of the worlds is still in progress.
@mantun
Thanks for the help.
I experienced a similar problem when setting 'disable-zipping' to true. It looks like it's trying to copy the locked files with zip disabled.
http://pastebin.com/aYzdMErk
@DoctorBoyd Thank you, I'll change it so locked files do not fail the zip backup (the copy backup already skips locked files).
@mantun
Looks like MB copied every file from what I can see.
The log that stopped the backup for SB was 'ChestRestock'. When I took out CR the backup stopped at 'MultiverseCore'.
This showed up in the console today.
http://pastebin.com/iy8JGZVd
This was from yesterday (sorry I didn't include it)
http://pastebin.com/9fXiN3tZ
@DoctorBoyd Was Minebackup able to copy the log file or it just skipped the log file and copied all other files?
Hello. I have a small problem,
The plugins folder isn't copying due to a log in one of the folders being used. There is no option to disable the log for that plugin.
I was able to copy plugins fine in Minebackup, is there something I can do to get around this?