core-admin/core
Marek Marczykowski-Górecki f714a8224b
backup: follow symbolic links
For a long time Qubes backup did not include symlinked files, which
apparently is quite common practice for users with multiple disks (for
example HDD + SSD). It is covered in documentation
(https://www.qubes-os.org/doc/secondary-storage/), but better solution
would be to simply include symlinked files.

Restore of such files would (of course) not preserve the symlinks -
normal files will be restored instead. But that's fine. If the user want
to move the data to another location, he/she can do that and restore the
symlink.

The only possible breakage from this change is having a copy (instead of
symlink) to a VM icon. But storing that symlink in a backup was broken
for some time (because of --xform usage) and it is handled during
restore, so not a real problem.

This doesn't cover all the problems with symlinked VM images - the other
one is qvm-block behaviour, which would treat such images as non-system
disks, so easily detachable (which would break VM operation). But that's
another story.

Fixes QubesOS/qubes-issues#1384
2015-11-07 05:03:54 +01:00
..
storage core: use vm.absolute_path to parse paths in qubes.xml 2015-09-04 01:58:53 +02:00
tests qubesutils.py: get_disk_usage 2014-04-24 21:50:12 +02:00
__init__.py Move all files one level up 2013-03-16 19:56:51 +01:00
.gitignore Move all files one level up 2013-03-16 19:56:51 +01:00
backup.py backup: follow symbolic links 2015-11-07 05:03:54 +01:00
guihelpers.py Fixed PyQt4 import in guihelpers 2014-11-19 12:50:31 +01:00
Makefile makefile: Improve readability of settings.py install command 2014-11-19 12:50:26 +01:00
modules add convenient symlinks simulating target python files layout 2014-03-10 01:05:01 +01:00
notify.py core: fix imports 2014-11-19 12:50:32 +01:00
qubes.py utils/QubesWatch: register libvirt event loop only when really launched 2015-11-07 03:51:51 +01:00
qubesutils.py utils/QubesWatch: register libvirt event loop only when really launched 2015-11-07 03:51:51 +01:00
settings-wni-Windows_NT.py settings-wni: get installation directory from windows registry 2014-11-19 12:50:31 +01:00
settings-xen-Linux.py core/xen: setup xen-specific defaults in separate settings file 2014-11-19 12:50:26 +01:00