MineBackup
MineBackup - Automatically save and backup your server!
Features
- Numerous backup actions: Save (default); Copy and/or Compress. The copy action creates a copy of files in backup folder while the compress action creates a zip of files in backup folder. You do not need to enable both for compress to work.
- Numerous upload actions: Dropbox; FTP. These actions will upload the latest compressed version, so you will need to be using compression.
- Maintenance action: Cleanup. With this action enabled, old backups will only be deleted as scheduled (otherwise they will be deleted after a copy/compress action).
- Each action has a configurable interval. You can even set a specific time that an action should trigger (only once per day). Every action supports either method.
- You can either enable actions globally (default for all worlds) or enable/disable actions for specific worlds. Specific worlds can even have different time intervals for each action!
- Global or per world configurable amount of backups to be kept on disc. So a world that is rarely used can be compressed every few hours and set to have less copies retained.
- Global or per world configurable broadcast of backup status.
- Setting to enable an immediate backup on server restart/reload with configurable delay. With this disabled (default), scheduled actions will occur at their proper time, but if the server was stopped during that time, then it will run as soon as possible.
- Backup actions are staggered to try to prevent low-powered servers from getting overloaded. Instead of checking every world at one time and in order, a queue is checked once a minute to see if it needs to do a backup action.
- If no one has used the world since the last backup ("not dirty") then its actions are skipped.
- Able to backup plugins/other directories with a list of excluded paths (like dynmap's /tiles) and file types.
- Customizable messages. Everything sent to players is able to be translated or changed. Including broadcast groups.
- Configuration migration with a backup copy of the original configuration.
Caution
Does your server have a single-core processor or a low amount of memory (512mb and several plugins)?
Do NOT enable compression! Only enable copy.
Does your server operate over a typical home internet connection?
Do NOT enable dropbox or ftp!
Failure to understand this will almost certainly result in all of your players being disconnected.
Notes
[v0.5+] Due to changes to the old backup deletion code, the plugin will not automatically delete any v0.4 backups. You will need to manually delete them at an appropriate time.
[v5.9.2+] If you still have the old map format (world height 128) files in your world folders, it's going to yell at you on server startup. Once you have a backup of the world, delete level.dat_mcr and the *.mcr files in the region folder. They aren't needed after the conversion and double the size/time of the backup.
[v5.9.3+] Enable 'debug' in config.yml for a detailed list of the settings that are being used as each world/plugins is loaded. (Exact times are seconds from midnight, but stored as a negative number.)
Setup & Usage
Only save is enabled by default. You need to enable either 'copy' or 'compress'.
Download
MineBackup.jar (for auto-updaters)
Source
Default Config (created first start)
Default Strings (created first start)
Dropbox Linker (Google App Engine)
Credits
ThisIsAreku for the original MineBackup. This plugin has now been completely re-imagined and rewritten. The only thing untouched and unchanged is the name itself.
-
View User Profile
-
Send Message
Posted Sep 9, 2012Small problem: when running with tekkit, this mod disables chunkloaders, tweaks the timing of certain machines, and seems to override the server viewdistance. (still on 1.2.5 if that makes any difference) other than that and how upgrading is a pain in the ass sometimes, this is a great plugin.
-
View User Profile
-
Send Message
Posted Sep 6, 2012I have downloaded and was wondering where the backups go to because i cannot find them any help would be good
-
View User Profile
-
Send Message
Posted Sep 6, 2012Nice, I'll see if it works on 1.3.2 servers with essentials! Thanks for this plugin, couldn't find any others! Woo! No more typing /save-all every 5 minutes!
-
View User Profile
-
Send Message
Posted Sep 4, 2012Hey theres a new feature in bukkit that lets me store my worlds in a folder and I have did that and it break this plugin it wont let me back up the worlds you should add this or tell me a work around.
-
View User Profile
-
Send Message
Posted Sep 3, 2012Im getting this a lot the last couple days.. http://pastie.org/4656356
causing some rough lag on my server... any ideas?
-
View User Profile
-
Send Message
Posted Aug 30, 2012I got it to backup only my entire root folder by entering all my world names and setting them to not backup individually. this way, I have 1 folder with my entire server backed up and not a ton of individual backups for each world.
It is still not issuing /save-all commands. This means if you are not having it done by another method, you could have a fresh backup with a map/player data thats an hour old.
-
View User Profile
-
Send Message
Posted Aug 30, 2012I love the 'Scenarios' link. Thanks a lot! Very helpful1
-
View User Profile
-
Send Message
Posted Aug 28, 2012As far as I can see, it does not issue save-all, save-on or save-off. Though it does not seem to affect backup performance. You can set a save-all though.
What I cannot seem to do, is to simply backup the entire server folder to a single compressed file. I run a ramdisk, and want to be able to unzip and copy 1 single folder back to the ramdisk after reboots, I dont want to have to do it from an individual folder for each world/plugins etc etc.
-
View User Profile
-
Send Message
Posted Aug 28, 2012@NotYetRated
Would like to know the same.
Does it also allow for different combined schedules? The idea of backing up every 15 minutes for 2 days, every hour for 7 days and every day for 4 weeks pleases me.
-
View User Profile
-
Send Message
Posted Aug 25, 2012Hello,
I have some problems configuring the plugin to get it work the way I want. I have two worlds on my server, each with a nether and end sub-world. I'd like to compress each world at 5am every morning but the plugin only compresses the first defined world.
Here's my current configuration: http://pastebin.com/KUCNGiVa
As you can see, I disabled all features in the 'default_actions' section and override/enable them in the 'worlds' section.
All I can find in the server log (regarding MineBackup) is this:
The plugin seems to work fine, but only for the first defined world. What am I doing wrong here?
Regards
-
View User Profile
-
Send Message
Posted Aug 23, 2012It isn't saving anywhere on my server
-
View User Profile
-
Send Message
Posted Aug 21, 2012Does this plugin issue a "save-all" and the "save-off" prior to backup, and then a "save-on" after backup?
-
View User Profile
-
Send Message
Posted Aug 20, 2012Erm.. seems like every time the server backs up everyone falls out of the world
-
View User Profile
-
Send Message
Posted Aug 18, 2012Can two times be set for a compress? If so, what is the syntax that I would use?
-
View User Profile
-
Send Message
Posted Aug 18, 2012Ok thanks :D
-
View User Profile
-
Send Message
Posted Aug 15, 2012@Icee2199
The latest version fixes that.
-
View User Profile
-
Send Message
Posted Aug 15, 2012Hello, I keep getting a message that says : WorldSave Detected. If a person triggered it then ignore this message. However, If another worldsave plugin is responsible then you should uninstall it before it triggers a backup during a backup. I do not have any other worldsave plugins. I use this as my only worldsave plugin. Please Help
Thx :D
-
View User Profile
-
Send Message
Posted Aug 15, 2012@ltguide
Thanks for the response. That fixed it :)
-
View User Profile
-
Send Message
Posted Aug 14, 2012I hate to add to possible bug lists...but as far as a fellow admin and I have tested MineBackup is causing all chunk loader plugins (and mods, its an mcpc server) to stop doing their job. We figured it out by removing our plugins one by one until the chunk loaders worked again. When we removed minebackup and added all the other plugins again they worked.
I don't understand how this could happen, I mean its just a backup plugin :P If you can tell us what we've done wrong or if this is a bug we would be greatful. Backups are really important on our server.
EDIT: I posted about this on MCPortCentral, and someone told me that MineBackup uses World.undloadChunk() when saving a world. But that method does not generate a ChunkUnloadEvent so plugins listening for that do not get notified of the chunk unload. This is what is causing them to fail, so it would be great if you could generate that event or whatever to make it work. I've switched to an old backup plugin but theres a reason I switched to MineBackup - its better. :)
-
View User Profile
-
Send Message
Posted Aug 14, 2012I've had the same issues as Garrety, and I'm also using Orebfuscator and AntiCheat. It's so bad that it causes my server to hang up and forces me to force a hard reboot. I've stopped using MineBackup for now.