]> git.proxmox.com Git - pve-container.git/commit - src/PVE/LXC/Create.pm
automatically restore mountpoints from backup
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 30 May 2016 12:40:19 +0000 (14:40 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 1 Jun 2016 05:21:02 +0000 (07:21 +0200)
commitdb18c1e4c50470e74912175f66b41f14ca8fda82
tree94952a04d23841c3cba4885b7106bd70f66865b6
parent27b10d0b80179fb190e7960fca081fc1f1ea8fd7
automatically restore mountpoints from backup

if the mountpoint configuration is not explicitly provided
via -rootfs or -mpX , recreate all volume mountpoints on the
provided -storage , restore the archive and then add
non-volume mountpoints back to the configuration.

if -rootfs (and optionally any -mpX) are provided, the old
configuration contained in the backup archive is ignored.
this allows reconfiguration of mountpoints when restoring a
backup, e.g. to change mountpoint paths or other options. in
this mode restoring backups to bind or device mountpoints is
also possible.
src/PVE/API2/LXC.pm
src/PVE/LXC/Create.pm
src/PVE/VZDump/ConvertOVZ.pm