minecraft-wrapper icon indicating copy to clipboard operation
minecraft-wrapper copied to clipboard

Where to ask questions

Open lukeeexd opened this issue 7 years ago • 2 comments

Is the backup time based off how long the wrapper is up or the server? So if I have a backup set every 23 hours but a server restart every 12 hours. Will the server still backup after 23 hours?

lukeeexd avatar Jan 04 '18 23:01 lukeeexd

Short answer, YES. Longer answer: That is a good point and something I had not considered...

  1. The timer is held in memory during wrapper execution.
  2. Backups will occur every (however many you configured) seconds.
  3. The backup timer is in seconds # backup interval is in seconds: 3600 = hourly, 86400 = Daily, 604800 = weekly.

That said, wrapper will do backups whether the server is running or not. However, if you restart Wrapper.py regularly (as I do on one of my servers), the timer will get reset during the restart. However, in your case, a simple server restart will not prevent (or delay) a backup from occurring later.

For future reference, we have a gitter discussion forum for questions like this that are not issues: https://gitter.im/benbaptist/minecraft-wrapper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

suresttexas00 avatar Jan 04 '18 23:01 suresttexas00

Okay sweet. thank you. I'll join the gitter :)

lukeeexd avatar Jan 04 '18 23:01 lukeeexd