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.
Took me a little bit to get this plugin configured the way I want it. Now it say's it is successfully saving the worlds and copying them up to the directories I want. However, the folders are empty.
Running Ubuntu Server 12.04.
Please help this is my config and i cant do ftp uploads on a lan to another server
ftp: server: 'Server1:21' path: 'backups' username: 'Administrator' password: 'notactuallpassword'
for path i also did C:\documents and settings\admin\backup
@o0Julia0o
I think so
does v5.9.4 work together with craftbukkit-1.4.7-R0.1 ? thx
My plugin keeps making backups every hour (now every 6 hours) regardless of settings!! Please could someone help?
Current config: http://pastebin.com/Trt3dcE4
I've tried 24h to no avail, and yesterday I changed it to 86400 but this seems to have made backups every 6 hours??
Here is what my folder looks like.. http://aciid.net/imgs/img-yl5AG.png as you can see the last 3 backups were done at 6 hour intervals
Any ideas?? I'm at a loss it's been happening ever since I got the plugin but now my host doesn't want me using 100GB of space so I have to lower the backup frequency.
@Maximvdw
I meant to a server on a lan. Server1 is server i want it to go to. My worlds are on server3
Also fo the path does it ned to be a share? in which case itd be backups for path? Or like C:\docsandseting\admin\backups?
@Dr_Proffesor
ftp: server: 'localhost:21' path: 'backups' username: 'Administrator' password: 'notactuallpassword'
Please help this is my config and i cant do ftp uploads locally
ftp: server: 'Server1:21' path: 'backups' username: 'Administrator' password: 'notactuallpassword'
for path i also did C:\documents and settings\admin\backup
@frol1
There isn't any way you can fix it, you'll have to use some other method of remote storage if your backups are very large at all. I believe there is a way you can upload larger files with the dropbox API but I'm not 100% sure. And even if there is a way it would also require somebody that programs in java and could fix the plugin to work in such a manner. Personally I operate on an assumption that the storage on my hosting provider will likely be fairly safe and backup my worlds to the server itself once per day and FTP myself a copy of everything once per week. Unfortunately if you have strict bandwidth caps or a slower internet connection that wouldn't be an option.
Anyone try this on 1.4.6-7?
I have an Error:
[MineBackup] % java.io.IOException: sun.net.ftp.FtpProtocolException: CWD world_the_end:550 world_the_end: No such file or directory.
Please Fix it
Is there away to fix minebackup so it will delete the old save and make a new one instead of it not making a new save if there is already a zip there?
How can I specifiy how many backups it keeps from my plugins folder, cause currently (I set keep to 2 in the config for my worlds) it creates tons of folders for the plugin-backup-ing :(
Any developer willing to take this plugin?
Does MineBackup multithread? Because I keep getting "can't keep up" messages when backups happen.
EDIT: Also, is there a way to get it to spawn a 7zip process instead of zipping it from inside the server process?
Does the most current version work with Tekkit or do I need to pull an old version?
@ManBeastPigDev It is a good plugin. dont give up. try to understand it! the sceneratio and the configurationpage will help you! ;)
too complex, i gave up after 10 minutes.
I have been using this plugin for a long time, I love it. I hope it doesn't die.
Anyone have any recommendations on settings for a 3gig world? currently, I back it up every 3 hours. I had compression turned on, but recently turned it off for testing.
I also have backups to a seperate harddrive on the server.