BackupOnEvent v1.6.5
Feature Summary:
- Backs up server when a player joins/leaves or last player leaves (Configurable)
- Start an immediate backup using the command /backup
- Define an interval (in minutes) for backups to occur
- Limit storage usage (Deletes oldest backup when limit is exceeded)
- Messages/Announcements can be enabled or disabled
- Backs up the default world, world_nether and world_the_end
- Backups are compressed to reduce the storage space used
- A minimum interval can be set between backups to prevent multiple taking place at the same time
- Plugin automatically updates itself!
BackupOnEvent was created for open survival servers that are vulnerable to being grieved. Backups can be set to run when a player joins or quits a server. The plugin also supports backing up when the last player leaves the server. The /backup command allows a user to force a backup to take place immediately. All worlds are compressed together into dated zip files, for example 2019-08-21_11h23m-enayet123-world.zip.
This plugin utilises multithreading to prevent your server crashing when creating a backup then checks that the storage constraints defined in config.yml are met. If the storage space usage exceeds the limit, the server will delete your oldest backup(s) first.
Automatic updates allow you to easily keep up to date with the latest bug fixes and get the latest functionality as soon as its released!
I can’t change the backup location and even the backup files often get corrupted
In reply to little_hope:
Hey, do you have any logs I can see?
In reply to YouGotAnyYet:
I can’t provide the log. This problem will only occur when the map file is opened after decompression.
I hope to design a remote backup that can free up local space.
In reply to little_hope:
What version of minecraft are you running and are you using the latest plugin? I was looking to implement backups to S3 storage but I don't really have the time to implement this at the moment but the source code for this project is public and open to pull requests from others
In reply to YouGotAnyYet:
paper 1.16.5 / BackupOnEvent v1.6.4
Hope it can come true, it's hard work.
I tried this plugin when another backup plugin didn't work, it works perfectly! Though I will have to tweak some settings; I check on it overnight and I had 408 gigabytes worth of backups. Great plugin though!
In reply to BreyTheKidWasTaken:
Speaking of which, can you add a feature that you can set it up to automatically delete backups after a certain time period (or is that already a feature, and I just missed it)?
In reply to BreyTheKidWasTaken:
Hey, thats already a feature! Just set the maxInMegaBytes field to whatever you'd like the max to be in MB e.g. 10240 for 10GB. Check how much your world takes up in a single backup and decide based off that :)
Awesome plugin ! it's the best I've seen so far. I'm currently testing it on my test server and I think I encountered a glitch where the plugins gets save even if disabled in config.yml, might worth investigate . I tried to delete the config, ''re-install the plugin'' but no luck. Backups are still usable even if not completed, forced shutdown (because of my huge Dynmap) . Overall, realllllly great backup plugin, thanks @theenayet
In reply to siropdrable:
Hey @siropdrable, thanks for letting me know as it seems this bug has been in the plugin for a while but no ones noticed 😂 Fixed in 1.6.5 which is currently under review. You will be notified in-game by the auto updater
Does this works for 1.16?
In reply to Sm0GLY:
Hey, it works just fine on 1.16
This plugin leverages what i'd want out of a backup plugin, the only thing I think is missing is allowing for backup of more than just the default world. If someone has multiverse setup with portals or something like that, this doesn't quite cover them.
Any chance you might be adding multi-world support in the future?
In reply to jaxem87:
Hey, I believe this support could be added rather easily however I would like to clarify exactly how your server works. Would you be available and willing to discuss the needs of your server? If so, message me on here with some contact details and we can add the feature for v1.6
Hello, Thanks for the awesome plugin.
Out of curiosity are you planning to upgrade this to 1.15?
In reply to potatopancake122:
As soon as paper release their 1.15 server I will be playing myself and subsequently using/updating this plugin :)
In reply to theenayet:
Thank you! :)
Thank you for this great plugin!
I really like how configurable it is, it would be nice if we could set the location of where the backups are stored. Another config request would be that if max file size was set to 0, set a max number of interval backups.
In reply to Airborne_Upman:
I will take note of this! If I release an update you should get a notification when you join your server
Auto backup should only happen if there is someone on the server. I have it right now a scheduled task, which allows me to run only if there is a player on the server.
Other wise love this backup man.