Prerequisites
Describe the Feature Request
If a backup is underway, and you attempt to shutdown or restart the server, shutdown will likely progress before the backup completes. This could corrupt the backup of the current service being backed up when the shutdown happens.
We should message the user and give them the option to restart when the backup is complete, or do the shutdown or restart immediately.
This should also happen if they initiate the shutdown using the server's meatspace power button.
Describe the Use Case
While a backup is running in the background, and a user wants to reboot the server, if the server shuts down immediately, they could lose data.
Describe Preferred Solution
When user selects shutdown or restart from the web-UI, or presses the server's power button, they should get a prompt in the web-UI, which says something like:
A backup is currently running.
[Wait for backup to complete] (default)
[Power down now/Restart now]
with a timeout clock which expires 30 seconds to 1 minute after they select selected Restart or Shutdown from a StartOS page, and then StartOS performs the default action if neither button is explicitly selected by the user.
Describe Alternatives
No response
Anything else?
No response
Prerequisites
Describe the Feature Request
If a backup is underway, and you attempt to shutdown or restart the server, shutdown will likely progress before the backup completes. This could corrupt the backup of the current service being backed up when the shutdown happens.
We should message the user and give them the option to restart when the backup is complete, or do the shutdown or restart immediately.
This should also happen if they initiate the shutdown using the server's meatspace power button.
Describe the Use Case
While a backup is running in the background, and a user wants to reboot the server, if the server shuts down immediately, they could lose data.
Describe Preferred Solution
When user selects shutdown or restart from the web-UI, or presses the server's power button, they should get a prompt in the web-UI, which says something like:
A backup is currently running.
[Wait for backup to complete] (default)
[Power down now/Restart now]
with a timeout clock which expires 30 seconds to 1 minute after they select selected Restart or Shutdown from a StartOS page, and then StartOS performs the default action if neither button is explicitly selected by the user.
Describe Alternatives
No response
Anything else?
No response