[pve-devel] [PATCH v2 container 0/6] improved mountpoint restore

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon May 30 14:40:18 CEST 2016


This patch series implements support for the two scenarios
from bug #996 along with fixes for some related issues.

Tested with pct create/restore and various backups, including
some openvz archives. More testing and feedback welcome!

Changes to v1:
- allow manual/explicit restore to bind/dev mount points (like pct create)
- unsupported config warning moved to src/PVE/API2/LXC.pm
- drop delayed_mp_param hash from recover_config and co, not needed anymore

Fabian Grünbichler (6):
  automatically restore mountpoints from backup
  add ignore_ro flag to mount_all
  split up create_rootfs and restore_and_configure
  warn about unsupported backup configuration
  support non-existing mount paths
  don't allow automatic restore to dev/bind rootfs

 src/PVE/API2/LXC.pm          |  81 +++++++++++++++++++++------
 src/PVE/LXC.pm               |  25 +++++++--
 src/PVE/LXC/Create.pm        | 128 +++++++++++++++++++------------------------
 src/PVE/VZDump/ConvertOVZ.pm |   4 +-
 4 files changed, 141 insertions(+), 97 deletions(-)

-- 
2.1.4





More information about the pve-devel mailing list