instead of storage config to determine whether we are in 'PBS mode' Signed-off-by: Fabian Grünbichler <f.gruenbich...@proxmox.com> ---
Notes: requires a break on pve-manager << version setting this option, since the dependency is the other way round. PVE/VZDump/QemuServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm index f122539..1bdc490 100644 --- a/PVE/VZDump/QemuServer.pm +++ b/PVE/VZDump/QemuServer.pm @@ -248,7 +248,7 @@ sub archive { my $opts = $self->{vzdump}->{opts}; my $scfg = $opts->{scfg}; - if ($scfg->{type} eq 'pbs') { + if ($self->{vzdump}->{opts}->{pbs}) { $self->archive_pbs($task, $vmid); } else { $self->archive_vma($task, $vmid, $filename, $comp); -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel