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
@AKlarvanto
That means your server's lagging, usually.
It kicks out all players after backup starts; end-of-stream. Great plugin, but I will wait for this issue being fixed before I continue using it.
@Hydroblue
First of all make sure you have a copy of the latest version of your map, in case you make a mistake.
For this little guide I will be using this folder structure: "C:/MC Server"
1. Stop your server completely
2. Either rename or delete your servers map folders from "C:/MC SERVER/"
3. Take the backed up zip file or folder from the backups directory from "C:/MC SERVER/backups/world/" (The name will look like this "2012-03-24-07-27-33")
4. Extract the zip or put the folder in the same location of the old one you deleted and place it in "C:/MC Server/2012-03-24-07-27-33"
5. Name the folder correctly so the server will load it (in this example "C:/MC Server/2012-03-24-07-27-33" becomes "C:/MC Server/world")
Repeat steps 2-5 for any other maps you have backed up.
6. Start your server back up and it should load the backed up map
I haven't actually tested this so I urge you to make completely sure that you have copies of your servers map in case it doesn't work.
How do i roll back my map?
@Ozoft
I'll hopefully be adding this feature in a later plugin update.
Seems like a great plugin, trying it atm! Possible to give it a specific time to backup? like 06:00 am where my server is the least busy! That would be awesome!
give an option to delete backups after so many backups. like max backup limit = 100 over write oldest file
@dockter
Oh right I see what you mean, ill see if I can play around with the backup procedure to see if I can make it alot less intensive. Thanks for letting me know about this.
@exolius
Its not that it kicked everyone, its that the clients timed out because the main server thread was running at 100% because of the backup procedure.
@dockter
Yes it does disable saving before it copies. And i have no idea why it kicked everyone off when running the command, its never happened to me during testing.
This hung the server thread of my server and booted everyone off as soon as I started /sbackup as an OP.
Thoughts?
Simple question but I have to ask since this was an issue in the past.
Does your plugin disable world saving so when its copying the world files it doesnt cause corruption if a world file is saved while its being copied?
@exolius
cool, cant wait ! thx for quick response too
@hgt3345
I've actually been working on this feature for a bit, but its still rather buggy so thats why I havent put it in a release yet.
Hi, i love this plugin, its great and works like a charm. i have a suggestion tho: if you can add 'keep for #days' for those that dont want to keep backups forever ... cause backing up often sucks up hdd space XD
@Phonix420
Yes there is a command, its /sbackup It can only be ran by OPs at the moment though. I should really add this to the description, must have forgotten.
@hawkfalcon Im not really sure what the problem is here, but ill take a look into it and see if i can figure it out.
Great plugin so far!
Is there no command to force a backup?
Hmm. It happens when i change something big while it is backing up.
@ThisUsernameIsMine
Not at the moment, its being worked on but is a bit buggy and not 100% reliable
Does it auto-delete the oldest backup when the number of backups is reached?
Thanks.