Backup icon indicating copy to clipboard operation
Backup copied to clipboard

Enhancement: New Backup-Routine

Open lycano opened this issue 13 years ago • 2 comments


  • Inspired by xZises suggestion:

- http://forums.bukkit.org/threads/inactive-admn-backup-1-6-a-simple-backup-plugin-818.9871/page-16#post-711084

1 - Backup Task every 15 min

2 - Backup Task every 2 h

This would mean that the 8th Backup is your 2h backup or in your example your 12th backup is the 3h backup.

Even if you do a 12min or 7 min backup you will have a calculateable hour backup somewhere along the way ;)

Anyhow ... a good idea i could think of an configureable hourly backup that would temporarily disable an overlapping repeated backup task that runs every n minute.

Feature request would be "hourly backup vs repeated backup" ... i hope i have described it well...

Its kinda the same principle as normal backup tasks like "Father Son" ... Each Sunday full backup, til then incremental backups ... Full backups would be kept but inbetween it would be deleted as soon as we have another sunday backup.

Now if we use time as an index and trigger the garbage collector ...

Conzept:

(( Our Server is never used. First fixed backup is scheduled to run at 00:00:00 o'clock ))

  1. Configured a repeated hourly backup every 2 h

  2. Configured a backup task that runs every 15/30 min

  • Keep the last 96/48 backups of task 2) (1440 minutes -> one day) until .....
  • Keep the last backup of task 1) and the first of 1) so you will most likely have a "near day started" and a "near day ended" backup file (real time).

This routine would be repeated every day so you have a started and ended day backup for lets say 5 days.

It is most likely that you would need this plugin only for "wtf everything is broken"-backups or in case of map corruption.

For specific region restorations or griefing stuff i personally think that everything above this functionality is too much for this little plugin and that there should be another plugin used like BigBrother or LogBlock because restoring specific regions per full backup or per user isn't efficient in my opinion =)

lycano avatar Oct 04 '11 14:10 lycano

On 12 March 2012 06:29, Zachary P****** z****[email protected] wrote: I'd like to make a feature request for the Bukkit Backup plugin. I'd like an extra feature added to the auto delete. Right now it keeps just the last 25 backups. If you are backing up every 15 min and there are constantly people on your server that's only 5 hours worth of backups. If I'm away from the server and I need to restore or recover something that happened more then 5 hours ago I'm out of luck. My idea for the feature is keeping a certain amount of backups at different intervals. For example, every hour it will delete the last 3 15min backups and keep the hourly backup. Then every day it will delete the last 23hourly backups and keep one daily backup, so on and so on for week, then month if you really wanted to. I remember a backup script I used to use in hmod did something like this but I've never found anything like this for Bukkit. I hope you will consider it! I feel like it would be a valuable feature to server admins. Especially of smaller servers where the admins aren't always around to correct problems.

tgxn avatar Mar 12 '12 00:03 tgxn

This would require another re-write of the plugin script.

It will get done at one point, but is not urgent.

tgxn avatar Jul 02 '12 07:07 tgxn