From 77b24c626727346513199b485dfa13f7c8c49f12 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Wed, 3 Jun 2020 14:28:22 +0200 Subject: [PATCH] fix pbs backups of templates/vms without disks fingerprint is now given with an environment variable not as parameter Signed-off-by: Dominik Csapak --- 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 1a0d437..91df455 100644 --- a/PVE/VZDump/QemuServer.pm +++ b/PVE/VZDump/QemuServer.pm @@ -356,6 +356,7 @@ sub archive_pbs { } local $ENV{PBS_PASSWORD} = $password; + local $ENV{PBS_FINGERPRINT} = $fingerprint if defined($fingerprint); my $cmd = [ '/usr/bin/proxmox-backup-client', 'backup', @@ -364,7 +365,6 @@ sub archive_pbs { '--backup-id', "$vmid", '--backup-time', $task->{backup_time}, ]; - push @$cmd, '--fingerprint', $fingerprint if defined($fingerprint); push @$cmd, "qemu-server.conf:$conffile"; push @$cmd, "fw.conf:$firewall" if -e $firewall; -- 2.39.2