start-os icon indicating copy to clipboard operation
start-os copied to clipboard

[feat] Allow Restore on Installed Service

Open kn0wmad opened this issue 2 years ago • 2 comments

Currently it is required to wipe out a service in order to restore a backup. If there's a problem with the backup, data is gone.

kn0wmad avatar Mar 02 '23 20:03 kn0wmad

Essentially rolling back to a prior state. This is conceptually the same as uninstalling and restoring from backup, but with the up front guarantee that it will work. Needs strong messaging to prevent loss of newer data.

MattDHill avatar Mar 16 '23 18:03 MattDHill

it would be great if the integrity of the backup could be verified before requiring the user to delete their datadir.

It seems like a better system would be: allow the user to restore over existing data, but warn them before they do this that it will replace their existing data. Then, run the restore to make sure it doesn't error out. If it errors, don't delete the datadir at all.

chrisguida avatar Mar 17 '23 21:03 chrisguida