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.
Can anyone provide some help.
My worlds are not getting backed up through dropbox. Its saying something that they are too big. How do I fix this?
How do I get this to backup the nether/end as well? I have the same settings for all 3 worlds, and if I do /minebackup now, it backs up all 3, but on its own it only backs up the starting world.
can you delete your level.dat_old if you have a normal level.dat in it
It's causing mass amount of chunk leaks.
I dont need to take it over. He logged on 16hkurs ago and it works perfectly for me with the latest CB
Author hasn't been on for 3 months, someone should take the lead.
@Ryanjh5521
Yesssssssssssssss! This plugin's amazing, It needs an update!
Maybe ill take this project on. Idk should I?????
Would it be possible in the update for this to include a permission node to disallow those of a certain rank and under the right to see the backup broadcasts? I'd like to not let anyone under moderator see them but still have them active in the configuration.
For some reason this plugin refuses to back up my main world. It backs up all the other worlds, but not the main one.
Edit: On looking into it more, it seems to completely ignore the settings in the config file all all together.
Edit2: On checking the actual "backed up" files, I found them to be nothing but empty folders.
Don't know what's up with this plugin... but it seems to not have any use as I see it now. Changing the config does nothing, and it doesn't actually back anything up...
Please, Update! <3 <3 <3
@frol1
I have the same problem. Reading over the dropbox API it looks like the limit is 150MB without using a different command/method for uploading. 150MB isn't nearly enough, my main world is 1.3GB compressed and growing. Even one of my secondary worlds will surpass 150MB before much longer. My original idea was to just setup a lightweight ftp server at home and do it that way, but I hate eating into my monthly cap but I guess unless this issue gets resolved I'll have to take the hit on my cap...
Please update it, I need it so much that i could pull the plug of my server!!!
@GodWar101
Yep :/
@ltguide is inactive since Aug 16, 2012. It will be great if someone takes this plugin.
@ViscousSummer88
Hmm all other files upload fine, and my server is run on a top notch internet connection.
Is it possible that you can add a section to the config where we can specify certain commands to run (like the one to save worldguard data, ect) before the backup is run?
@frol1
That could be caused by networking...
My main world which is a little over 1.5gb is not uploading to my dropbox. I know I have plenty of space in my dropbox as I have 150gb. is there anything that is wrong?
Aside from one little snag this plugin seems to work great so far and is exactly what I needed to have more control over backups versus the simpler "just back everything up on the same schedule" style plugin I was using before. Also the plugin I was using before would mysteriously just stop making automatic backups and would sometimes not even respond to forced backup commands. So kudos to you, sir, for creating a very nice little backup plugin. I'll be testing out the FTP functionality soon ;)
The one little snag. After installing and starting the server back up it generated a default config, which I edited to my tastes. I then took the server offline again to deactivate the auto-save function that was being provided by Multicraft. When I brought the server back up it had copied my config into the old_configurations folder, renamed it invalid_config.yml (or invalid-config.yml, can't remember) and inserted default config information into my config.yml. Interestingly it left my world sections in the config.yml but wrote in some default values as well as re-inserting the default world sections. But the default values were formatted differently than in the first default config. Also the lines from the error in the console where it claimed there was a problem weren't (exactly) the same as what was actually in the file. For example it claimed one line was keep:7 when it was actually keep: 7 in the config. I removed the default world sections and edited mine back to my liking and reloaded the plugin and everything seems to work fine now.