8275e828af
In most cases it would be some leftover after failed restore, or even the reason why the user is restoring a VM in the first place. Move it to nearby directory, but do not remove - backup tool should _never_ remove any data. When the pre-existing directory would not be moved, restore utility (`shutil.move`) would place the data inside of that directory, with additional directory level (for example `/var/lib/qubes/appvms/work/work`), which would be wrong and would later fail on `vm.verify_files`. And more importantly - such VM would not work. Fixes QubesOS/qubes-issues#1386 |
||
---|---|---|
.. | ||
storage | ||
tests | ||
__init__.py | ||
.gitignore | ||
backup.py | ||
guihelpers.py | ||
Makefile | ||
modules | ||
notify.py | ||
qubes.py | ||
qubesutils.py | ||
settings-wni-Windows_NT.py | ||
settings-xen-Linux.py |