Shevchik / AutoSaveWorld

Bukkit plugin that provides advanced bukkit server management capabilities. Supports automatic saves, backups, stale data purge, plugin management, and more.
GNU General Public License v3.0
35 stars 36 forks source link

Backups with autorestart issue? #15

Closed Elgorond closed 7 years ago

Elgorond commented 9 years ago

Our current setup is autobackuping plugins/worlds every 12 hours, whilst restarting the server every 24 hours. (Though we do not use AutoSaveWorld for the auto-restarts)

I checked my backups folder, and see this: (/backups/plugins) http://hastebin.com/renebomiza.rb This is showing that it's only backing up every 24 hours? Is this because of restarting the server before autosaveworld can get that 2nd 12 hour backup in?

'Backup' config section if needed: http://hastebin.com/laquxopamo.sm

Is this a new "bug"? Or is this just plugin functionality? (I swear it used to backup every 12 hours seamlessly)

Shevchik commented 9 years ago

Yep, timer is reset after every restart. In previous version it was saving, but due to rewrite it was lost. I'm currently reworking threads and intervals so they all are preserved after restart, but this may take time. You should schedule to backup at specific time using AutoConsoleCOmmand instead.

Elgorond commented 9 years ago

Okay, thanks.

Shevchik commented 7 years ago

Unfortunately this won't be added, because intervals and such will be removed in AutoSaveWorld 5.0. The system will be changed to use settings and a separate scheduler for tasks.