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 crombiejohn crombiejohn Oct 14, 2014 at 07:16 UTC - 0 likes

    Hi ltguide,

    Im wondering if you can help me with configuring dropbox syncing? I have the below settings:

    default_actions:
      save: true
      copy: false
      compress: true
      cleanup: false
      dropbox: true
      ftp: false
    default_settings:
      save: 30m
      copy: 3h
      compress: 6h
      compression_level: 9
      cleanup: '2:00'
      dropbox: 3h
      keep: 24
      broadcast: false
    worlds:
      CC-V5:
        copy: true
      CC-V5_nether:
        keep: 8
      CC-V5_the_end:
        compress: 12h
        keep: 4
    others:
      plugins:
        exclude-folders:
        - tiles
        exclude-types:
        - jar
        - lck
      root:
        copy: false
        compress: false
        exclude-folders:
        - '*'
        exclude-types:
        - jar
        - lck
    directories:
      worlds: .
      others: .
      destination: ./minebackup
    destination:
      format: '%Y-%M-%D_%H-%m-%S'
      timezone-offset: 0.0
      prepend-world: false
    broadcast_settings:
      on_save: true
      on_copy: false
      on_compress: false
      when_done: true
    actions_on_startup:
      enabled: false
      delay: 2m
    debug: true
    version-nomodify: 5.9.4
    

    However after leaving it for over a day and also running '/minebackup now' it doesnt sync.

    Note: I have allowed minebackup access to my Dropbox apps folder and run the command from the console which it accepted but still no backups uploaded.

    [EDIT]: Code below is output from debug:true when backup run...

    [18:24:59 INFO]: [MineBackup] All backup actions will start momentarily. (CONSOL
    E)
    [18:25:05 INFO]: [MineBackup]  * compressing others\plugins
    [18:25:05 INFO]: [MineBackup]   \ done 193.34ms
    [18:25:05 INFO]: [MineBackup]  * saving worlds\CC-V5
    [18:25:05 INFO]: [MineBackup]  | unloaded 351 of 1066 chunks @ 193.58ms
    [18:25:05 WARN]: A manual (plugin-induced) save has been detected while server i
    s configured to auto-save. This may affect performance.
    [18:25:05 INFO]: [MineBackup]   \ done 241.01ms
    [18:25:05 INFO]: [MineBackup]  * copying worlds\CC-V5
    [18:25:06 INFO]: [MineBackup]   \ done 501.71ms
    [18:25:06 INFO]: [MineBackup]  * compressing worlds\CC-V5
    [18:25:13 INFO]: [MineBackup]   \ done 7608.54ms
    [18:25:13 INFO]: [MineBackup]  * saving worlds\CC-V5_nether
    [18:25:13 INFO]: [MineBackup]  | unloaded 369 of 625 chunks @ 201.51ms
    [18:25:13 INFO]: [MineBackup]   \ done 207.82ms
    [18:25:13 INFO]: [MineBackup]  * compressing worlds\CC-V5_nether
    [18:25:14 INFO]: [MineBackup]   \ done 311.11ms
    [18:25:14 INFO]: [MineBackup]  * cleaning up worlds\CC-V5_nether
    [18:25:14 INFO]: [MineBackup]  | removing .\minebackup\CC-V5_nether\2014-10-14_1
    7-53-57
    [18:25:14 INFO]: [MineBackup]   \ done 19.25ms
    [18:25:14 INFO]: [MineBackup]  * saving worlds\CC-V5_the_end
    [18:25:14 INFO]: [MineBackup]  | unloaded 369 of 625 chunks @ 138.52ms
    [18:25:14 INFO]: [MineBackup]   \ done 148.52ms
    [18:25:14 INFO]: [MineBackup]  * compressing worlds\CC-V5_the_end
    [18:25:14 INFO]: [MineBackup]   \ done 136.26ms
    [18:25:14 INFO]: [MineBackup]  * cleaning up worlds\CC-V5_the_end
    [18:25:14 INFO]: [MineBackup]  | removing .\minebackup\CC-V5_the_end\2014-10-14_
    17-56-17
    [18:25:14 INFO]: [MineBackup]   \ done 14.55ms
    [18:25:14 INFO]: [MineBackup] > total 9654.41ms
    [18:25:14 INFO]: [MineBackup] All backup actions have completed.
    
    Last edited Oct 14, 2014 by crombiejohn
  • Avatar of Silveridian Silveridian Jun 18, 2014 at 03:36 UTC - 0 likes

    Does anyone have a fix for the max upload Dropbox API error?

    Bringing old plugins back to life. PM me on DBO if you know a plugin that needs some life.

  • Avatar of JohnnyTk64 JohnnyTk64 Jun 01, 2014 at 21:18 UTC - 0 likes

    Anyone recommend a host for FTP storage?

    http://files.enjin.com/459772/Images/MineOBanner.gif

  • Avatar of Higgins909 Higgins909 May 14, 2014 at 00:51 UTC - 0 likes

    Can someone help me with my config? the last backup plugin I used was made my GamerX called Backup, this is a bit more advanced and not clear on some things. I have put comments in the config of areas Im not sure. All I want to do its have it backup in a different folder, in a zip, with the world folder, and its stuff in that. http://textuploader.com/rbif

    Last edited May 14, 2014 by Higgins909: Code so its readable
  • Avatar of xH3LLRAIZ3Rx xH3LLRAIZ3Rx May 11, 2014 at 06:28 UTC - 0 likes

    How does one make it connect to a FTP Server on a Ubuntu FTP Server on a home computer from a Server ran on a VPS

    http://wgtowny.no-ip.org:8080/status.png

  • Avatar of Drazhar753 Drazhar753 May 07, 2014 at 13:55 UTC - 0 likes

    This plugin works like a charm, works with 1.7.2 it would seem too. How will it go with things like movecraft or ships on the server? If they're moving around while it's backing up?

  • 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

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
232,105
Recent files

Authors