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'.

Commands and Permissions

Configuration | Scenarios (with Example Configurations)

Strings


Download

MineBackup-5.9.4.jar

MineBackup.jar (for auto-updaters)


Source

MineBackup

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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of pookshuman pookshuman Apr 22, 2014 at 23:09 UTC - 0 likes

    Hello, I don't know if there is any support for this plugin still, but maybe someone can help me with this issue.

    I am trying to set this up. When I leave it with the default config, it backs up all worlds. But there are several worlds I don't want to back up. But when I try to disable those worlds, it also stops my main world from backing up (but it still backs up the nether, end)

    Can someone debug my config please? http://pastie.org/9101977 I just want it to back up World, Nether, End, Plugins, Root. No other worlds.

    Any help would be much appreciated, the plugin seems to work OK other than this problem. Thanks

    Last edited Apr 22, 2014 by pookshuman
  • Avatar of Liger_XT5 Liger_XT5 Apr 13, 2014 at 17:55 UTC - 0 likes

    @o0Julia0o: Go

    No, it still works just fine for me on my server. The config works without any issues on my end.

    MCDen @ mc.mine-craft-den.com
    https://minestatus.net/39051-mcden/image/original.png
    Details at FairMCList.com!

  • Avatar of o0Julia0o o0Julia0o Apr 13, 2014 at 16:49 UTC - 0 likes

    is this plugin dead?

  • Avatar of bartdaniels bartdaniels Feb 24, 2014 at 20:04 UTC - 0 likes

    I have in the config:

    exclude-folders: exclude-types:

    And when it backs up the plugins it doesnt copy of the jar files. Even those there is nothing listed in the exclude-types.

    My Plugins: Like My Building

    BFAK:90673227,8be25f82b442af88da3f56be0c31b8a5bc3aea5c256f080e5a2627d570ad8a87

  • Avatar of actionforgames actionforgames Feb 21, 2014 at 05:33 UTC - 0 likes

    Very well done plying it would be nice to have Include-folders: So you could set exclude-folders: - "*", include-folders: - Essentials. That way you could only backup essentials without any other plugins :D

  • Avatar of Razoul_05 Razoul_05 Dec 30, 2013 at 21:15 UTC - 0 likes

    @Liger_XT5: Go

    Server Specs: Win 2008 R2, Quad i5 @3.1 Ghz; 16gb ram (4 dedicated to Minecraft), 60gb SSD (minecraft & OS Pagefile), 4TB raid5 (backups & dynmap).

    I will try running a second server using only the backup plugin with only this world to see what results I get.

    Thanks for all your assistance thus far.

    EDIT: After running tests on across multiple machines with multiple plugin combinations I was NOT able to reproduce the issue elsewhere. After transferring one of the ZIP files locally for testing when I discovered that I was able to open it. This led me to the conclusion that the issue is not with bukkit, plugins or the HW but instead an issue with Server 2008 opening a 10gb zip. Note to others, try opening the zip file elsewhere first :).

    Last edited Jan 01, 2014 by Razoul_05
  • Avatar of Liger_XT5 Liger_XT5 Dec 30, 2013 at 20:09 UTC - 0 likes

    @Razoul_05: Go

    That is a bit weird. I'll admit I'm not using a large 1.7.x world, and it's not currently the main world, at least not yet, but I'll look at it's backups later and see if I can do an extract and use test. Only difference between yours and mine is file size (also using large biomes).
    Curious, are you using Linux or Windows?

  • Avatar of Razoul_05 Razoul_05 Dec 30, 2013 at 19:35 UTC - 0 likes

    @Liger_XT5: Go

    AutoSave is set to 0 in the bukkit.yml and there are no other plugins doing backups. All the plugins I am using have been active on the server for over a year with no additions or changes.

    Its odd that its only 1 world (the new one) that is encountering this issue. The only things different in this world are 'large biome', large map (13,000 radius); 10GB size, and 1.7 worldgen.

  • Avatar of Liger_XT5 Liger_XT5 Dec 30, 2013 at 16:44 UTC - 0 likes

    @Razoul_05: Go

    Make sure you don't have any other plugin doing saves, including in your bukkit.yml.
    My main world is little over 9GB and works just fine.

  • Avatar of Razoul_05 Razoul_05 Dec 30, 2013 at 14:26 UTC - 0 likes

    I recently updated my server to 1.7.2.R.02 added a new world (Multiverse) for the 1.7 content. For the most part the plugin continues to work perfectly except for my new 1.7 world. The configuration is set such that a save occurs every 15m and a compress every 6hr.

    For only my new 1.7 world the zip created by the compress action is corrupt and unable to be opened. There are no errors being thrown by ANY of my plugins. My only thought is that the world is too large and the zip is failing to create successfully (world is 10gb uncompressed).

Facts

Date created
Oct 26, 2011
Categories
Last update
Aug 07, 2012
Development stage
Release
Language
  • enUS
License
GNU Lesser General Public License version 3 (LGPLv3)
Curse link
MineBackup
Downloads
229,457
Recent files

Authors