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 May 22, 2012@cuddyier
What do you mean by updated, but I think they should update this plugin to be more compatible with the current CB.
However I recently updated my Bukkit and their RB seemed to help this problem, but only time will tell :)
-
View User Profile
-
Send Message
Posted May 22, 2012@deleted_8156133
My server has been using a lot of RAM recently and I have 16gb, it goes up to 10gb gradually over a few hours. This plugin looks quite updated which may be why :(
-
View User Profile
-
Send Message
Posted May 21, 2012It seems like this plugin has been causing some server tick drops, anyone having that problem? Once it took 100 seconds for one tick or something it said... It's not my server, I have 16GB RAM, and E-1220 or 30
-
View User Profile
-
Send Message
Posted May 21, 2012Do you pleaze fix the problem with the Citizen's PNJ ?
seriously !?
-
View User Profile
-
Send Message
Posted May 18, 2012Why isn't dropbox working for me. I entered the code in the console and it won't continuously backup in dropbox. Here's my config:
default_actions: save: true copy: false cleanup: '03:00' dropbox: false ftp: false default_settings: save: 15m copy: 24h compress: 24h compression_level: 9 cleanup: '3:00' dropbox: '3:00' ftp: '3:30' keep: 24 broadcast: true worlds: world: save: true copy: true dropbox: 24h others: plugins: copy: 48h compress: false dropbox: 24h exclude-folders: - tiles exclude-types: - jar - lck directories: worlds: . others: . destination: ./minebackup destination: format: '%Y-%M-%D_%H-%m-%S' prepend-world: false ftp: server: ftpserver:21 path: / username: user password: '123' actions_on_startup: enabled: true delay: 2m debug: false version-nomodify: 5.9.3
-
View User Profile
-
Send Message
Posted May 16, 2012do you think you could add or follow the keep option in config for dropbox files as well? I'd like to avoid deleting old stuff manually from it, since ALL backups are being stored there - even those that are no longer on the server
-
View User Profile
-
Send Message
Posted May 9, 2012so i installed this plugin and it does everything i wanted it to do however it does not seem to upload to my ftp server and i was wondering if its something i did. http://pastie.org/3883927
-
View User Profile
-
Send Message
Posted May 8, 2012Post on the Citizen thread :
We are aware of the problem with Minebackup, and I believe the problem has been forwarded to the Minebackup developers. Unfortunately it is something Minebackup would have to address.
Any infos of this bug ? please fix this
-
View User Profile
-
Send Message
Posted May 7, 2012[WARNING] [MineBackup] $ invalid setting: default_settings.keep (336; valid: 1-168)
Why is the maximum number of backups only 168?
-
View User Profile
-
Send Message
Posted May 6, 2012Don't bother getting this, as you can see this plugin has runined 2 of my worlds, as you can see in my other post, only half of my creative world was there, everyone lost there stuff, and an NPC village was placed right in the center, as for my survival world, someone with a custom client destoryed my town, i installed a backup, and its just a flatland of nothingness, If you looking for a plugin to trust, dont use this.
-
View User Profile
-
Send Message
Posted May 5, 2012Just useless... the console says "server saved" bla blab bla but people lost their items and the map doesn't save... useless
-
View User Profile
-
Send Message
Posted May 5, 2012Just wondering if it's possible to save the root files with the newer version? You'd said you were going to implement it soon, it would be so helpful.
Cheers!
-
View User Profile
-
Send Message
Posted May 3, 2012Well griefing has been brought to a new level...someone came who bypassed nocheat, worldguard, and logblock, we couldnt rollthem back like it was never logged, and they destoryed my whole world. Then i installed a backup i took only a few hours earlier, it only saved HALF the world (its a flatland) and and it put and NPC village right in the middle.
-
View User Profile
-
Send Message
Posted May 2, 2012kind of confusing but want to double check if i got this right. i have mymcadmin and rather use the task schulder to trigger this at times i know poeple are not on. so if i have mymcadmin run the Now command will this work as i want
back up and compress old-world and world_nether then ignore world_end and world.
.
default_actions:
save: false
copy: false
compress: false
cleanup: false
dropbox: false
ftp: false
default_settings:
save: flase
copy: false
compress: 8
compression_level: 9
cleanup: '2:00'
dropbox: '3:00'
ftp: '3:30'
keep: 24
broadcast: false
worlds:
world:
save: false
compress:false
copy: false
Old-World:
save: true
compress: true
world_nether:
save: true
compress: true
keep: 3
world_the_end:
save: false
copy: false
compress: false
keep: 4
others:
plugins:
copy: false
compress: false
dropbox: false
exclude-folders:
- tiles
exclude-types:
- jar
- lck
directories:
worlds: .
others: .
destination: ./minebackup
destination:
format: '%Y-%M-%D_%H-%m-%S'
prepend-world: false
ftp:
server: xxxx
path: /
username: xxx
password: 'xxx'
actions_on_startup:
enabled: false
delay: 2m
debug: false
version-nomodify: 5.9.3
-
View User Profile
-
Send Message
Posted Apr 30, 2012@datwerd86
Yeah, that would work.
-
View User Profile
-
Send Message
Posted Apr 29, 2012is it possible to set config like so
default_settings: save: 30m compress: 12h compression_level: 4 cleanup: 4h keep: 2 broadcast: true worlds: world: compress: true save: true cloud: save: 4h compress: "00:00" keep: 2
so the world cloud only compresses at the set time
-
View User Profile
-
Send Message
Posted Apr 29, 2012@frol1
The Dropbox API will currently only accept a max of 150-300mb file size. It's not definite either, which is annoying. According to their forums, it is high on their priority list as of 2 weeks ago.
As a crazy workaround, depending on how savvy you are, you could use the ftp setting to send it somewhere that has an actual Dropbox desktop client (since it's not subject to the limit) setup as the ftp dir. This "somewhere" could even be the same server, since both linux and windows have dropbox and ftp servers freely available.
-
View User Profile
-
Send Message
Posted Apr 29, 2012Hi there my main world backups which are 3.4gb are not transfering to dropbox. I have 54gbs on my dropbox
-
View User Profile
-
Send Message
Posted Apr 29, 2012@zoppp
You need save to be on for beachtown_the_end, or eventually you will run out of memory since the server won't unload chunks. Both copy and compress are false for plugins, so they won't backup. Enable debug mode and do "/minebackup reload" and within a minute it will output what it thinks about your config.
-
View User Profile
-
Send Message
Posted Apr 29, 2012When i type "/backup now" it is only saving the world and not backing up. Also when I have multiworld it only backs up the other world and not the main world. It is also not backing up plugins