F #6333: Snapshots for incremental backup mode

- Defines a new a attribute "INCREMENT_MODE" that can be "SNAPSHOT" or
     "CBT"

- SNAPSHOT mode: takes a disk snapshot (virsh snapshot-create-as or
  qemu-img). The current snapshot is saved in the backup store, and
  committed to the base disk image.

  The backup_qcow2.rb util adapt to different VM folder layout for SSH,
  shared, persistent, non persistent disks.

- Lint vxlan.rb

- Update onevm and XSD schema to reflect the new backup attribute

(cherry picked from commit ea1d5183ea)
This commit is contained in:
Ruben S. Montero committed 2023-11-10 20:24:18 +01:00
1 parent e9ff257d6f
commit 803d39b8e2
7 files changed
+363 -43

No files matched your search

+1 -1
View File
@@ -1343,7 +1343,7 @@ CommandParser::CmdParser.new(ARGV) do
VIDEO = ["TYPE", "IOMMU", "ATS", "VRAM", "RESOLUTION"]
RAW = ["DATA", "DATA_VMX", "TYPE", "VALIDATE"]
CPU_MODEL = ["MODEL"]
BACKUP_CONFIG = ["FS_FREEZE", "KEEP_LAST", "BACKUP_VOLATILE", "MODE"]
BACKUP_CONFIG = ["FS_FREEZE", "KEEP_LAST", "BACKUP_VOLATILE", "MODE", "INCREMENT_MODE"]
CONTEXT (any value, **variable substitution will be made**)
EOT