BananaBackup
BananaBackup
Need a backup program that just works?
BananaBackup is designed from the ground up to be simple and just work.
It backs up your server worlds (just the region files) to timed and dated zip files - nothing more.
It can also update the plugins too!
Need to cut out the lag?
The delay between .mcregion file writing is 100% configurable! (and the writing is 100% threaded) so you can choose any delay you like from 0ms to 5000ms, just set the option in the config file! Higher delays mean less noticable lag, but also slower backups.
Permissions?
None at the minute, it just uses a simple isOp() check.
Example config?
backup-interval-hours: 12.0 backup-worlds: - world backup-all-worlds: true interval-between: 100 broadcast-message: true backup-plugins: true backup-file: backups/
Suggestion: Having a configuration option like "maxBackups: 10", meaning a max of 10 backups can be present. When there's more, it'll delete the oldest.
Also, is there a command or something? There seems to be a permission check but no commands documented.
What is the difference/meaning of these:
interval-between: 100
backup-interval-hours: 6.0
@bobbshields
Hm! That's one that doesn't happen very often.
Can you please catch the Drive Full IO exception and cancel the backup?
@Zjildon
I had the same issue- my solution was to place the tiles folder outside of the plugins folder, so I had to change my dynmap configuration but now those files aren't zipped into the backup.
@dragondeatth
@dragondeath: Maybe you want SimpleBackup? take a look at the intervals in the sample config file ... highly configurable for keeping x number of x-daily, weekly, hourly, monthly. The "Backup" plugin can also do what you're looking for; you can set a max number of backups to keep.
Can you please do so my server only contains 2 backups? So when 2 backups have been taken, and the 3ird one just was taken, the oldest backup would be deleted, so there would only be 2 backups the whole time? :D
Is there a way to exclude folders from backup? I want to back up all plugins, but exclude dynmap's web tiles folder (it is quite large, even when zipped!) Thanks. :)
Anyone know how to send the backups into a folder on your desktop?
works perfectly with 1.3.2 i love this plugin! great work!
Can you add configurable backup announcements?
Works great, and it's simple. Excellent Backup Plugin. Thanks!
http://pastebin.com/LBqtsV75
Caused my essentials player files to get reset -_-...
Installed, and ran a backup.
What could cause the access file to be locked and error out?
Config: backup-worlds: - world - spawn - world_nether - world_the_end interval-between: 10 backup-interval-hours: 4.5 backup-all-worlds: true broadcast-message: true backup-plugins: true backup-file: D:\tekkit3.3\
15:31:10 [SEVERE] java.io.IOException: The process cannot access the file becaus e another process has locked a portion of the file 15:31:10 [SEVERE] at java.io.FileInputStream.readBytes(Native Method) 15:31:10 [SEVERE] at java.io.FileInputStream.read(Unknown Source) 15:31:10 [SEVERE] at java.io.DataInputStream.read(Unknown Source) 15:31:10 [SEVERE] at java.io.BufferedInputStream.fill(Unknown Source) 15:31:10 [SEVERE] at java.io.BufferedInputStream.read(Unknown Source) 15:31:10 [SEVERE] at de.bananaco.bananabackup.BackupThread.write(BackupThr ead.java:91) 15:31:10 [SEVERE] at de.bananaco.bananabackup.BackupThread.loop(BackupThre ad.java:69) 15:31:10 [SEVERE] at de.bananaco.bananabackup.BackupThread.loop(BackupThre ad.java:66) 15:31:10 [SEVERE] at de.bananaco.bananabackup.BackupThread.run(BackupThrea d.java:54) 15:31:10 [SEVERE] java.io.IOException: The process cannot access the file becaus e another process has locked a portion of the file 15:31:10 [SEVERE] at java.io.FileInputStream.readBytes(Native Method) 15:31:10 [SEVERE] at java.io.FileInputStream.read(Unknown Source) 15:31:10 [SEVERE] at java.io.DataInputStream.read(Unknown Source) 15:31:10 [SEVERE] at java.io.BufferedInputStream.fill(Unknown Source) 15:31:10 [SEVERE] at java.io.BufferedInputStream.read(Unknown Source) 15:31:10 [SEVERE] at de.bananaco.bananabackup.BackupThread.write(BackupThr ead.java:91) 15:31:10 [SEVERE] at de.bananaco.bananabackup.BackupThread.loop(BackupThre ad.java:69) 15:31:10 [SEVERE] at de.bananaco.bananabackup.BackupThread.loop(BackupThre ad.java:66) 15:31:10 [SEVERE] at de.bananaco.bananabackup.BackupThread.run(BackupThrea d.java:54) 15:31:10 [SEVERE] java.io.IOException: The process cannot access the file becaus e another process has locked a portion of the file 15:31:10 [SEVERE] at java.io.FileInputStream.readBytes(Native Method) 15:31:10 [SEVERE] at java.io.FileInputStream.read(Unknown Source) 15:31:10 [SEVERE] at java.io.DataInputStream.read(Unknown Source) 15:31:10 [SEVERE] at java.io.BufferedInputStream.fill(Unknown Source) 15:31:10 [SEVERE] at java.io.BufferedInputStream.read(Unknown Source) 15:31:10 [SEVERE] at de.bananaco.bananabackup.BackupThread.write(BackupThr ead.java:91) 15:31:10 [SEVERE] at de.bananaco.bananabackup.BackupThread.loop(BackupThre ad.java:69) 15:31:10 [SEVERE] at de.bananaco.bananabackup.BackupThread.loop(BackupThre ad.java:66) 15:31:10 [SEVERE] at de.bananaco.bananabackup.BackupThread.run(BackupThrea d.java:54)
i have set the interval to 10 and its till 9 mins to back up my worlds no matter what is there a way to make it so it backs up alot faster then 9 mins
@Southpaw018
Hi - I've just uploaded a new update.
Hey, everyone. I've located codename_B's source for BananaBackup based on the broken link in the project description.
First: @codename_B: If you would like me to simply offer a patch, and you still want to maintain this plugin, please let me know. If you would like me to abort this project - or you would even like to hand it over if you're no longer interested in maintaining it - it's your plugin and your call.
Okay. I can't promise anything, but for now I'll maintain the plugin as "in codename_B's absence." It looks like I can update the plugin itself without mucking with his actual file writing code, which is a testament to his coding skills - ie, he does things the right way, and it also gives me confidence that I can update the thing without wrecking peoples' backups. Heh.
Anyhow. Stand by.
Anyone know of an alternative to this plugin for 1.2.3?
Fingers crossed this gets an update at some point.
Just got a whole bunch of CME's at backup start. Here is one of them. CB R4 - BBackup 0.2 Maybe time for an update??
07:21:53 [SEVERE] java.util.ConcurrentModificationException 07:21:53 [SEVERE] at java.util.HashMap$HashIterator.nextEntry(HashMap.java:810) 07:21:53 [SEVERE] at java.util.HashMap$KeyIterator.next(HashMap.java:845) 07:21:53 [SEVERE] at net.minecraft.server.World.a(World.java:2358) 07:21:53 [SEVERE] at net.minecraft.server.ChunkLoader.a(ChunkLoader.java:163) 07:21:53 [SEVERE] at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:75) 07:21:53 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunk(ChunkProviderServer.java:163) 07:21:53 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunks(ChunkProviderServer.java:212) 07:21:53 [SEVERE] at net.minecraft.server.World.save(World.java:277) 07:21:53 [SEVERE] at org.bukkit.craftbukkit.CraftWorld.save(CraftWorld.java:580) 07:21:53 [SEVERE] at de.bananaco.bananabackup.BananaBackup$1.run(BananaBackup.java:132) 07:21:53 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 07:21:53 [SEVERE] at java.lang.Thread.run(Thread.java:636)
@Thefreemanator
You put all plugins inside the plugins folder. You then start the server and stop it and the plugin will have created a config file.