[pve-devel] [RFC qemu-server] more flexible restore

Fabian Ebner f.ebner at proxmox.com
Fri Apr 15 14:31:24 CEST 2022


Allows keeping around certain disks and overriding VM settings upon
restore.

Only gave this some very rudimentary testing, because I'm not fully
restored yet after getting sick earlier this week. Didn't test the
combniation with live-restore at all yet.

First few patches are related improvements/cleanups.

Last patch depends on
https://lists.proxmox.com/pipermail/pve-devel/2022-April/052558.html


Fabian Ebner (6):
  restore: cleanup oldconf: also clean up snapshots from kept volumes
  restore destroy volumes: remove check for absolute path
  restore deactivate volumes: never die
  restore: also deactivate/destroy cloud-init disk upon error
  api: create: refactor parameter check logic
  restore: allow overriding settings upon restore

 PVE/API2/Qemu.pm  | 48 ++++++++++++++---------
 PVE/QemuServer.pm | 98 +++++++++++++++++++++++++++++++++--------------
 2 files changed, 99 insertions(+), 47 deletions(-)

-- 
2.30.2






More information about the pve-devel mailing list