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!
In reply to ImAlbatross:
Thanks for your feedback! I've just created a new release with a few changes which will be released as v1.5 containing this particular feature. Just keep in mind that the "RunBackupOn.intervalMinutes" in your config.yml is being replaced with"RunBackupOn.repeatIntervals.minutes". There will be a new config field which will be true by default called "whenPlayersAreOnline" referring to doing interval backups only when players are online! Hopefully this helps!
This is a great plugin, maybe you could add some commands to backup every hour. That would be great :D
In reply to frostbyte_203:
Added! It's just being reviewed by Bukkit now and should be released within about 24 hours. The plugin will also notify you of any future updates and download it for you automatically from this point onwards.
Great plugin!
Maybe you could add an option to only backup when the last person leaves the server? Another feature that would be nice is the backup dynamically slowing down when the server tps is lower.
In reply to Pindy:
Hey, appreciate the feedback. You can actually enable onQuit from the config file which triggers back ups when people leave and it’s off by default. I will see what I can do about dynamic back ups.
EDIT: Sorry I just realised you said last person to leave the server. This can be done pretty easily so I will look into adding it on the next update.