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 Jan 19, 2013@mantun
You were right - thanks for the quick reply! Sorry for the silly question. :P
-
View User Profile
-
Send Message
Posted Jan 19, 2013@mantun
It didn't last time I tried it - I'll clear the log and restart the server, I'll see if what you said works. Thanks for the reply.
-
View User Profile
-
Send Message
Posted Jan 19, 2013@Jesermay
Although the plugin doesn't list all the wolds at startup, it still makes backups for all of them when the actual backup is created.
-
View User Profile
-
Send Message
Posted Jan 19, 2013This plugin doesn't play nicely with Multiverse! D:
On start up, this plugin loads before Multiverse, therefore it says this error and only loads default worlds:
Upon a reload of the plugin, it works properly and registers all the worlds:
Could you fix this, so that you don't have to /reload to get all worlds on the list to backup? D:
-
View User Profile
-
Send Message
Posted Jan 19, 2013@SPUK1
There are many ways to move the tiles from DynMap outside of the plugins folder to begin with. I personally go that route.
-
View User Profile
-
Send Message
Posted Jan 18, 2013@SPUK1
Unfortunately, you still cannot do this with SimpleBackup. There has been requests about this feature in the past. If there are more requests in the future, I'll add it eventually. As a workaround until that happens, you can configure the Dynmap tiles folder to be outside the plugins folder.
-
View User Profile
-
Send Message
Posted Jan 18, 2013Hi, thx for this great plugin! I would like to backup the folder "plugins", but Dynmap data is large. Can I exclude folders, as with the plugin "Minebackup"?
exclude-folders:
- tiles
exclude-types:
- lck
-
View User Profile
-
Send Message
Posted Jan 18, 2013@LegndPowerdNube
Yes, your configuration does exactly what you described. To backup the plugins folder, see the example in Ranesh's reply.
@Madd_15
Actually it is the other way round - frequency 2d means one backup per two days, instead of 2 backups per day.
-
View User Profile
-
Send Message
Posted Jan 17, 2013@LegndPowerdNube
Based on the comments in the config I think your schedule would be the following.
This maybe incorrect but that is the way I understood it from the config file.
To backup folders in config look for "backup-folders:" and change it to
-
View User Profile
-
Send Message
Posted Jan 17, 2013Can you confirm this is right? http://dev.bukkit.org/paste/6929/
My server backs up every 12 hours. This schedule would leave 1 backup per day if it older than a week. It would keep one backup every 2 days if it is older than 2 weeks. It would keep one every 5 days if it older than 4 weeks. It would not keep any if it is older than 1 month and 4 weeks.
Is that correct? I want to make sure my logic on the delete schedule is correct!
-
View User Profile
-
Send Message
Posted Jan 17, 2013This is a very fast backup plugin. Please keep it up to date. It is amazing and will hopefully save my server on future breakdowns. Also could you make it backup plugin folders too? Also, can you make a permission for who sees the broadcast? I don't want the whole server to know. Just the admins and myself!
-
View User Profile
-
Send Message
Posted Jan 16, 2013@DrJ7788
The plugin just zips the world folder and does not write into it in any way. Therefore it cannot delete anything. The reason for your creation disappearing is probably elsewhere.
-
View User Profile
-
Send Message
Posted Jan 16, 2013When I used the back up it deleted my world edit creation that I tried to back-up??
Any advice?
-
View User Profile
-
Send Message
Posted Jan 13, 2013@S6ge The world folders are zipped in the backup file. You need to unzip the backup file and replace you corrupted worlds with the contents of the zip file. It is a good idea to keep a copy of the corrupted worlds somewhere, until you can confirm that the restore was successful.
-
View User Profile
-
Send Message
Posted Jan 13, 2013i want to know one thing and as fast as possobile how to hell i restore ?
-
View User Profile
-
Send Message
Posted Jan 12, 2013@siemaeniu500
I'm sorry, I couldn't quite understand what are you trying to achieve. If you want to backup only your main world once a day at 03:00, you need use the following settings:
-
View User Profile
-
Send Message
Posted Jan 12, 2013If i set that: start-time: '03:00'
So i can remove that: backup-interval-hours: 12.0 ?
I set backup-folders: - world
So only this folder will be backup?
-
View User Profile
-
Send Message
Posted Jan 11, 2013@NotYetRated
From the screenshot I can see that it didn't work very well - for example, the plugins folder is missing and it is essential for your server. The reason for the incomplete backup is that it already zipped the worlds and is trying to zip them once again as part of the server folder. You can see the 'duplicate entry' exception in the console of the screenshot. I can propose you two alternative setups to avoid this problem, but I'm afraid both have some shortcomings:
Whatever you do, please, test your backup afterwards! Restore it in a clean folder, run the server, login, check if all your worlds are fine, check if your plugins work. Otherwise, you may be lulled in a false sense of security and be unpleasantly surprised should the unthinkable happens.
-
View User Profile
-
Send Message
Posted Jan 10, 2013@bobbshields
This has everything you just named.
You can specify which folders get backed up, and you can easily set what to keep/delete in terms of age.
@mantun
Utilizing the "- ." somewhat worked, though a bit funky haha. See the picture for explanation. Left side if what it backed up, right side is what the actual folder contains. It skipped some files and folders, but actually hit the main ones.
http://i45.tinypic.com/2mouc.png
Thanks, I can work with this!
And as for the error:
You just solved a 4 week old issue I have been having. I thought I tracked it down to your plugin, but no, you were right, I had that "edit" option enabled. How? No idea, I never even knew it was there. But I just disabled it, and hopefully no more random pauses/errors/disconnects!! Thanks so much man! Sorry for initially blaming you :)
-
View User Profile
-
Send Message
Posted Jan 10, 2013Please add an option to backup the plugins and their directories. Also, rotating the backups (deleting the oldest in the series) would be excellent.