Consider restoring dom0 home backup to /home/subdir instead of /home #2271
Labels
C: core
C: manager/widget
P: major
Priority: major. Between "default" and "critical" in severity.
T: task
Type: task. An action item that is neither a bug nor an enhancement.
Projects
Milestone
Currently, when restoring a dom0 home backup, the existing contents of dom0's
/home
are moved to a subdirectory, then the contents of the backup are restored directly do dom0's/home
.This makes it convenient to restore a same-machine backup, since all backed up settings are automatically applied, but it makes it inconvenient to restore a cross-machine backup for the same reason (all the backed up settings are automatically applied). For example, if I create a backup on my desktop computer, which has multiple monitors and no power-saving requirements, then restore that backup on my laptop, which has a single monitor and stringent power-saving requirements, the display and power settings of the desktop get automatically applied on the laptop, and I have to manually undo/move everything. (I can't simply exclude dom0's home from the restore, because it contains some files and scripts that I need.)
TL;DR: In general, it seems better to allow the user to have explicit control over which files and settings get applied rather than assuming that the user always wants the contents of the backup to take precedence over the user's existing files in dom0's
/home
.(If the concern is that restoring for backups would become more inconvenient with this change, then one possibility is to provide the user with a choice. "Which set of files do you want us to move to into a subdirectory: the existing ones, or the ones in the backup?")
The text was updated successfully, but these errors were encountered: