See commit "abstract config: make get_backup_volumes() method more flexible" in the pve-guest-common repository.
Signed-off-by: Fiona Ebner <f.eb...@proxmox.com> --- PVE/QemuConfig.pm | 2 +- PVE/VZDump/QemuServer.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/QemuConfig.pm b/PVE/QemuConfig.pm index b60cc398..43967b43 100644 --- a/PVE/QemuConfig.pm +++ b/PVE/QemuConfig.pm @@ -170,7 +170,7 @@ sub get_replicatable_volumes { } sub get_backup_volumes { - my ($class, $conf) = @_; + my ($class, $conf, $vmid) = @_; my $return_volumes = []; diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm index 3238e344..d2e40d7c 100644 --- a/PVE/VZDump/QemuServer.pm +++ b/PVE/VZDump/QemuServer.pm @@ -88,7 +88,7 @@ sub prepare { my $vollist = []; my $drivehash = {}; - my $backup_volumes = PVE::QemuConfig->get_backup_volumes($conf); + my $backup_volumes = PVE::QemuConfig->get_backup_volumes($conf, $vmid); foreach my $volume (@{$backup_volumes}) { my $name = $volume->{key}; -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel