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
Thanks for the quick response! Ive tried both versions 1.6 and 1.5 of SimpleBackup and i get the same problem the config only has these lines in them and i did a full delete of the SimpleBackup.jar and config folder when i tested both versions
plugin-channel: world_info inform-player: false encoding: UTF-8 and when i run /sbackup from in game it returns the :
/sbackup
From the console I use sbackup and it returns:
08.07 21:54:46 [Server] INFO [21:54:46 INFO]: /sbackup
I am running cauldron which might be the issue but the v1.5 has worked for cauldron when i was using 1.6.4 MC
@ilimitar
As far as I can see it should work fine, my test environment is loading the plugin, the config is generated and the backup command runs what its supposed to run as you can see here:
Is there any more info you could give to help diagnose the problem?
Does this have compatability with 1.7.10. I see it goes from 1.8.x down to 1.6.4. I used this plugin on my 1.6.4 server and i LOVED it. i tried getting it to work on my 1.7.10 and the config is empty and the command /sbackup just says info:/sbackup
very very very great addon, thx a lot for your work!
is it possible to keep the right folder structure for additional sub(!) folders? i'm using this config (shortend): backup-worlds: - mainworld - skyworld backup-folders: - plugins/ASkyBlock - plugins/Herochat and so i get a zipped file contains all these 4 folders in the same root ignoring the plugin folder like: mainworld skyworld ASkyBlock Herochat
would be great, if the plugins-dir is recognized correctly in the zip.
greets, paedda
Thank you for this. I used to use it all the time and am restarting my server so I am looking forward to using this again!
@exolius
Oh ok. I tried a quick search via Github for "save," it only showed one or two results in code...
@The_PC_Tech_Guy
It already does this using 'world.setAutoSave(false);', before any work with files actually takes place. The warning you are seeing is because of 'world.save();' in the code
Actually, if the plugin could do a /save-all and /save-off before backing up, and then do /save-on afterwards, that'd be great. (I'm assuming it's already doing /save-all, but not save-off)
This is what shows in the console when the plugin starts to backup.
[WARN] A manual (plugin-induced) save has been detected while server is configured to auto-save. This may affect performance.
Only thing I'd like is auto-upload to OneDrive/Dropbox, as I'd like to keep a daily backup off of the server, and I rather avoid having to login to the FTP client every day.
Otherwise, I've been using this plugin for several months and it works great!
@ugmetuf
From the testing I have done with the spigot maintained craftbukkit it seems to be working, I am uploading a newly compiled plugin jar just in case, cant say when it will be aproved but the old version should work just fine.
does this work on 1.8.x?
How do I make it backup the plugins too?
Need update for 1.8
@exolius
Thanks so much exolius! This is such a helpful plugin.
@OnSceneReporter
You can set the interval to a stupidly high number, or higher than the time between your server restarts and it should never run the automated backup without the server command.
In the config for the backup interval hours, is it possible for me to set it to null or something, so that it only performs a backup when running an Op command?
I believe I should like to use a scheduler as part of mcmyadmin or multicraft to run the Op command.
@HerrHeimataerde
You use normal YML, just like the rest of the config file.
backup-worlds: - worldone - moreworlds - evenmoreworlds
Does anyone know how to back up different worlds? The config explanation doesn't actually explain the format to use...
Would you be able to add an option to backup the whole folder the server is in, but specify a blacklist of folders and items to not be included in the backup?
@gotblocks
Are you still having issues? Might be a corrupted world, I might know how to help.