backup: support 'missing-recreated' bitmap action

A new 'missing-recreated' action was added on the QEMU side.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Tested-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Reviewed-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Link: https://lore.proxmox.com/20250404133204.239783-20-f.ebner@proxmox.com
This commit is contained in:
Fiona Ebner 2025-04-04 15:31:54 +02:00 committed by Thomas Lamprecht
parent 3ce3c029e0
commit e74284d8c6

View File

@ -316,6 +316,8 @@ my $bitmap_action_to_human = sub {
}
} elsif ($action eq "invalid") {
return "existing bitmap was invalid and has been cleared";
} elsif ($action eq "missing-recreated") {
return "expected bitmap was missing and has been recreated";
} else {
return "unknown";
}
@ -1372,6 +1374,7 @@ my sub backup_access_to_volume_info {
'new' => 'new',
'used' => 'reuse',
'invalid' => 'new',
'missing-recreated' => 'new',
};
my $volumes = {};