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 10, 2013@NotYetRated
Thank you for the detailed report. The stack traces are interleaved and that makes it kind of difficult to follow, but judging by the stack trace of the main thread:
and from you description of the situation, I'm fairly certain that you had your server console window in 'select' mode. This can happen if you specifically select 'Mark' from the system menu or even if you just drag in the command window (if properties/options/edit options/quick edit mode is enabled). This allows you to copy and paste from the window, but it also suspends the application (the server).
The backup is done in a separate thread and does not block the main thread. As evident from its stack trace:
it is happily compressing data in the meantime.
-
View User Profile
-
Send Message
Posted Jan 9, 2013@NotYetRated
I haven't tried it, but maybe
could do the job. However, the server keeps its log file (and possibly other files) open, so the backup may fail.
Edit: this is not a good idea, it will backup everything, but your worlds may be corrupted, as the backup won't tell the server to save them and won't turn off auto save. Do not use this configuration!
-
View User Profile
-
Send Message
Posted Jan 9, 2013@obviousAce You need to specify the folder paths relative to server working directory:
-
View User Profile
-
Send Message
Posted Jan 9, 2013Odd issue....
Ran for about three days perfectly fine, then today I noticed no chat scrolling in my server CMD windows, I clicked it and BOOM all of the below error spit out, the server then began responding and continued on as normal, but in the 10 minutes when the server had been locked up, everyone was booted.
Error: http://pastebin.com/4HtjYgum Config: http://pastebin.com/dsxvxqEY WG Report: http://pastebin.com/am5vxGvk
On SimpleBackup Version 1.4, the Dec 26 upload.
-
View User Profile
-
Send Message
Posted Jan 9, 2013Happy to report that the build for CB 1.4.6-R0.3 now works for me with Java 1.6. Thanks again :)
-
View User Profile
-
Send Message
Posted Jan 9, 2013Excellent plugin, like the method of denoting backups to keep, very nice!
Any hopes in being able to do a full folder backup? I like to be able to backup my entire server folder, so that on a restore I can just paste the entire folder in, and dont have to pick and choose from multiple locations. I run a RAMdisk, so it is pretty necessary for me.
-
View User Profile
-
Send Message
Posted Jan 9, 2013@mantun There it is: http://dev.bukkit.org/paste/6845/
-
View User Profile
-
Send Message
Posted Jan 9, 2013@exolius:
found this blog entry:
It is the opposite problem (trying to compile for 1.6 with 1.5 sdk which obviously cannot work), but the picture shows what should work for you: project setting, java compiler, additional command line parameters: -target 1.6
-
View User Profile
-
Send Message
Posted Jan 9, 2013@mewetea119
I have been running a test server for a few days now with your configuration and it keeps 3 days worth of backups as you expect. Can you, please, paste your entire config file at http://dev.bukkit.org/paste/ and post the link here?
-
View User Profile
-
Send Message
Posted Jan 9, 2013@joba1
I use the IntelliJ IDE myself, its pretty simple for me to swap what version i'm compiling with using the drop down menu, haven't really played with eclipse (I love IntelliJ too much)
I will definitely look into what you have said and see if I can do it. Not having to maintain older versions would be great.
-
View User Profile
-
Send Message
Posted Jan 9, 2013Great news exolius (and great plugin btw.), thank you!
I wasn't sure about your answer, so I was looking into compiling the plugin myself.
I found out that Java7 can generate Java6 (and older) compatible code. No separate old SDK necessary. Eclipse IDE (if you use it) supports this via project settings. Might be interesting for you because then you don't have to download/install/update/fix/maintain two versions and still work with newest technology.
-
View User Profile
-
Send Message
Posted Jan 9, 2013@obviousAce
Can you, please, paste the configuration file on http://dev.bukkit.org/paste/ and post the link here?
-
View User Profile
-
Send Message
Posted Jan 8, 2013@exolius
Hey everyone, installed JDK 1.6 and the plugin seems to be working as expected on my 1.4.6 testing server, I will upload it shortly.
-
View User Profile
-
Send Message
Posted Jan 8, 2013@joba1
Its because I recently upgraded my computer hard drive, meaning a fresh operating system install. During this I installed java 7 and JDK. That's pretty much the reason for it being compiled under java 7. Should be simple enough for me to compile it for version 6. I will look into it tomorrow though.
-
View User Profile
-
Send Message
Posted Jan 8, 2013I have the same problem as vurloc since I updated to 1.4.6. I use JRE 1.6 and would like to keep it that way. From looking at the source code I see no reason why it is compiled with Java 7 (but I am no expert on this). May I ask why that changed?
-
View User Profile
-
Send Message
Posted Jan 8, 2013Yes, it works fine with Multiverse. I want to backup some folders of plugins, so i set the path of the backups to the plugin-folder and listed the folders in the plugin-folder I want to backup. Anyhow they do not get backuped.
-
View User Profile
-
Send Message
Posted Jan 8, 2013@obviousAce
If you use the latest version of the plugin, you shouldn't have any problems with Multiverse.
I agree that setting up the delete schedule is not super simple. Unfortunately, that is the simplest way to configure it, given the flexibility of the delete feature. The only way it can be simpler is to have some special predefined types of schedules, for example 'keep-n-backups', 'keep-n-days-of-backups', 'n-days-daily-then-weekly', etc. I'm afraid this will actually make configuring more complicated. Nevertheless, I'll think about that.
-
View User Profile
-
Send Message
Posted Jan 7, 2013I changed to this plugin after my earlier backup plugin didn't work correctly anymore. It's nice, but I think it would be good, if you could add a function, that the plugin always deletes the oldest backup, if the folder contains, for example, 20 backups. I do understand the delete-schedule now, but just as i read the comments in this thread. And yes, I am using Multiverse. I would be nice, if the thing, that Multiverse loads first could be solved. Don't know if it is already. Thanks for this nice plugin and greets :) Fab
-
View User Profile
-
Send Message
Posted Jan 6, 2013@vurloc
The plugin is compiled under Java 7, upgrade your Java version.
-
View User Profile
-
Send Message
Posted Jan 6, 2013I am getting this error when I put in the plugin, any fix for this.
http://pastebin.com/L1PbTw2t