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 Dec 25, 2012@mantun:
Just add
to the plugins.yml, to make sure it is loaded after Multiverse. That fixed it for me. It also might be a clever idea to check for loaded worlds when a backuptask is executed, not just at startup. The backuptask doesn't run that often and a getServer().getWorlds() isn't a resource-heavy operation to take care about. That would fix it for all multiworld-plugins.
Have you looked at the issue with filling up the entire ram from Favorlock yet? Exactly the same happens on my Debian-Root since i'm using this plugin. I think "Doesn't happen on my local Windows-system" is a solution. The Backup-Plugin never did something like that.
-
View User Profile
-
Send Message
Posted Dec 24, 2012@ManBeastPigDev
Yes, it does, if you specifically configure it to do so:
This comes with certain risks, that is why it is not enabled by default. The risks are explained in the header of the config.yml file (search for backup-folders).
-
View User Profile
-
Send Message
Posted Dec 24, 2012@jwmpine
If backup-worlds: is empty, the plugin should backup all worlds. Please, look at the server log - when the plugin is enabled, it prints which are the available worlds at the time of enabling - those are the worlds that would be archived.
It is possible that some of the worlds are not standard (are you using multiverse?). If SimpleBackup is enabled before the multiverse plugin, the rest of the worlds are not activated yet, so they are not archived. Unfortunately, we still don't know how to control the plugin loading order to fix that.
In the above case, the only workaround is to list all worlds explicitly like so:
-
View User Profile
-
Send Message
Posted Dec 24, 2012@midnightfang22
Please, use
to delete backups after 3 days
-
View User Profile
-
Send Message
Posted Dec 23, 2012does it back up plugins?
-
View User Profile
-
Send Message
Posted Dec 21, 2012Is there a reason why my config file won't save properly?
I want it to backup all my worlds, So I place backup-worlds: at the end of it and right under the first line for testing. And it saves. But when I do a force backup it only backs the one world up and when I go look at the config file again, it's reverted back to default.
-
View User Profile
-
Send Message
Posted Dec 21, 2012I just want to confirm it, but setting it up like that will make it so that whenever a backup is older than 3 days, it will basically delete it? Going to do a daily backup essentially every 24 hours so I want to make sure the deletion schedule is correct. If not, its easily doable to just manually delete the old ones too, but its easier to automate it :/
-
View User Profile
-
Send Message
Posted Dec 21, 2012@mentin2
Please, use
to disable scheduled backup. In this case backups will be created only with the /sbackup command
-
View User Profile
-
Send Message
Posted Dec 21, 2012@exolius Do you have a link to the file page of the new update ? Can't wait to get my hands on it ;)
-
View User Profile
-
Send Message
Posted Dec 20, 2012The plugin has been updated to the latest recommended Bukkit build #02543
Latest version is awaiting approval.
-
View User Profile
-
Send Message
Posted Dec 20, 2012The best Backup Plugin out there!!!
I love it!
Edit: If not already added: would it be possible to add the option to disable "backup-interval-hours"?
-
View User Profile
-
Send Message
Posted Dec 12, 2012@exolius
Ah, well I'm running on a dedicated linux server. So java doesn't seem to like the plugin with default parameters. I decided to add a bunch of parameters to tune my server and that seemed to take care of a lot of the issues.
Nevermind, scratch that. It still winds up storing 6 GB of files into kernel cache.
-
View User Profile
-
Send Message
Posted Dec 11, 2012@Favorlock
This doesn't happen on my testing server with any ram amounts set. It's only ever using 300-400MB for the entire server as you can see:
. In this screenshot the server has been allocated 1GB of ram and as you can see its not using every last scrap of it.
The plugin doesn't load anything or do anything except add a task to the bukkit scheduler with the specified duration, bukkit itself then runs the backup task and the plugin grabs the world data and puts it into a zip/folder. Nothing else happens apart from the folder naming and other miscellaneous operations needed by the plugin like config loading.
I have personally had a server with this plugin running before now and it hasn't once gone over the ram amount given to us. To say it bypasses all ram limitations is misinformed and frankly ridiculous.
Are you sure you don't have anything else that's using ram, the servers worlds or several thousand plugins for example?
-
View User Profile
-
Send Message
Posted Dec 11, 2012Hi there. I run a dedicated server and I've noticed some issues with this plugin. So to begin, I use Multicraft to manage multiple servers. One of my servers uses your plugin. That server has been assigned 4 GB Ram. When you plugin runs, all of a sudden 4+ GB of the free RAM on the dedicated are cached. This is a huge problem and a flaw in your plugin. Your plugin essentially bypasses all ram limitations.
I'm not saying that your plugin sucks, because I really do love this plugin. Makes my life a whole lot easier, but at the same time its eating up resources that I could use elsewhere, which I do need to assign elsewhere.
-
View User Profile
-
Send Message
Posted Dec 11, 2012@exolius Weird. Sorry I cant be of more help :(
-
View User Profile
-
Send Message
Posted Dec 10, 2012@wslauson
Yes I did, I cant however replicate the problem, every time I change the config file, both when the server is running and when its not it doesn't behave how you have described.
-
View User Profile
-
Send Message
Posted Dec 10, 2012Did you see my reply?
-
View User Profile
-
Send Message
Posted Dec 7, 2012@navbarry
It will be updated as it needs updates, like when a new recommended build comes out or we fix a bug/add a new feature.
@antoine2tt
I've tested the plugin on the latest beta and development builds and it works fine, when a recommended build comes out there will probably be another update.
-
View User Profile
-
Send Message
Posted Dec 7, 2012I get a odd message about the world not being recognized because this plugin looks to load before Multiverse anyway to fix that?
-
View User Profile
-
Send Message
Posted Dec 6, 2012Is this plugin inactive or will it still be updating if updates are needed.