MineBackup - Automatically save and backup your server

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 starting.
  • 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.3.jar

MineBackup.jar

Default Config (created first start as plugins/MineBackup/config.yml)

Default Strings (created first start as plugins/MineBackup/strings.yml)


Source Code

Plugin

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 zathrus_writer zathrus_writer May 16, 2012 at 09:52 UTC - 0 likes

    do 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

  • Avatar of Malvagio87 Malvagio87 May 09, 2012 at 12:06 UTC - 0 likes

    so 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

  • Avatar of bebess bebess May 08, 2012 at 15:41 UTC - 0 likes

    Post 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

  • Avatar of untergrundbiber untergrundbiber May 08, 2012 at 04:34 UTC - 0 likes

    [WARNING] [MineBackup] $ invalid setting: default_settings.keep (336; valid: 1-168)

    Why is the maximum number of backups only 168?

    Last edited May 08, 2012 by untergrundbiber
  • Avatar of Gunnerrrrr Gunnerrrrr May 06, 2012 at 20:49 UTC - 0 likes

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

  • Avatar of Mayhem777 Mayhem777 May 05, 2012 at 22:45 UTC - 0 likes

    Just useless... the console says "server saved" bla blab bla but people lost their items and the map doesn't save... useless

  • Avatar of MissPicket MissPicket May 05, 2012 at 22:42 UTC - 0 likes

    Just 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!

  • Avatar of Gunnerrrrr Gunnerrrrr May 04, 2012 at 01:42 UTC - 0 likes

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

  • Avatar of bluehasia bluehasia May 03, 2012 at 01:21 UTC - 0 likes

    kind 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

    Last edited May 03, 2012 by bluehasia

  • Avatar of ltguide ltguide Apr 30, 2012 at 07:02 UTC - 0 likes

    @datwerd86: Go

    Yeah, that would work.

    Plugins: GiveTo (/give enhancement) | MineBackup | ClearInventory | EntityInfo

Facts

Date created
Oct 26, 2011
Categories
Last update
Apr 09, 2012
Development stage
Release
Language
  • enUS
License
GNU Lesser General Public License version 3 (LGPLv3)
Curse link
MineBackup - Automatically save and backup your server
Downloads
117,408
Recent files

Authors