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.
@luna0316
The first line of console output does not match the config you pasted. You shouldn't have an "others\Survival".
@sindaruss
What do your "directories" settings look like? It sounds like you've created a loop.
@BBFChaser
Which messages do you mean exactly? Some you can now in strings.yml, but the saving/copying/compressing messages are server-wide to all players. There'll be more control of those in the next version.
Is there a permission allows only certain groups (using group manager) to view the status of this plugin.
I don’t mind as an admin seeing the in game messages but some players find it irritating so it would be nice if I can only allow admin to view the in game message.
Lul, i had a blue screen of death while running the backup actions... it created a folder in a folder in a folder in a folder ... etc, in the folder where the plugind were suposed to be backed up... i tried to delete it, but it's infinite ! anyways, i'm just reporting, i dont care...
@luna0316
Im having the same issue
Not Backing up main world named Survival, or my plugin folder however is backing everything else up fine.
Here is the config
And here is the console output
@joeriiii
You have compress set to 1m. It needs to be the same or greater than the save interval.
Turn on debug and reload, it should say, within a minute: "Loading configuration for worlds\CraftNations" and the settings it sees for it.
Hello there,
I have a problem with the plugin. When i´m trying to backup my worlds and compress them, only the Nether and The_End world are compressing? the main world isn't...?
@Invicter
This is with #2161. I have minebackup, essentials, and permissionsbukkit.
How are you determining that the server isn't unloading chunks?
@ltguide:
Haven't helped. But I've just tested with only MineBackup plugin, and Essentials (for /gc) and it does not unload chunks. So it's Minebackup, or Essentials, or Bukkit.
@Invicter
Check if you are using the latest NoLagg since it mentions chunk unload issues in its changelog. Also make sure you have the setting for "Keep chunks loaded" disabled.
@untergrundbiber
They are detailed since actions don't always happen back to back. In strings.yml, you can change action_starting to hide the details.
Great plugin, love it :D
How can I ensure that the players can see only "Start Backup" and "Finishing Backup" in the chat? I dont want that the player can see the detailed copy and save progress. Hope you now what i mean :D
Plugins (38): FoundBoxx, BadWords, PlugMan, NoCheatPlus, WorldEdit, Vault, pvpstats, PermissionsEx, Multiverse-Core, CombatTag, FigAdmin, WorldGuard, BorderGuard, AutoMessage, MineBackup, SimplyVanish, AuthMe, Permissions, HawkEye, Cannons, BKCommonLib, FastMessage, MyWarp, SimpleReserve, mcMMO, Essentials, NoLaggLighting, NoLaggTNT, NoLaggItemBuffer, EssentialsSpawn, Multiverse-Portals, NoLaggItemStacker, NoLaggMonitor, NoLaggExamine, NoLagg, EssentialsChat, Factions, Orebfuscator
@Invicter
I'm pretty sure other plugins can cancel unloadChunk(). What plugins do you have?
http://pastebin.com/RPrGkdfA It says it's unloading chunks, but it does not...
@Invicter
Strange. Enable debug and wait for a world to save. It'll say how many chunks are unloaded. It better be more than 0 :(
My config: http://pastebin.com/VSthAaD0 Saving enabled :(
@Invicter
I'm willing to bet you don't have 'save' enabled. Chunks only unload when a world is saved.
@xeNiums
I'd need to see your config.
@confuser
I think it can be done with mysqldump, which should come with a mysql install on windows or linux. I'll see what I can do.
Tested only with Bukkit (1.2.5 RB) and MineBackup 5.9.3 (and without it). Any errors, but if i run MineBackup - it doesn't unload chunks...
The plugins only download main world, other world are not downloaded? Why?
@11RJB
I am also with DaddyCheese, according to them, the RAM and CPU usage in the multicraft panel is highly inaccurate. They suggested a plugin called Lag Meter.
@ltguide
This has probably been asked before, but do you have any plans to include backing up of a mysql database?