[pve-devel] [PATCH qemu-server] avoid backup command timeout with pbs

Dietmar Maurer dietmar at proxmox.com
Fri Jun 26 07:10:57 CEST 2020


---
 PVE/VZDump/QemuServer.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm
index 1a0d437..147a3e6 100644
--- a/PVE/VZDump/QemuServer.pm
+++ b/PVE/VZDump/QemuServer.pm
@@ -403,6 +403,8 @@ sub archive_pbs {
 	$params->{fingerprint} = $fingerprint if defined($fingerprint);
 	$params->{'firewall-file'} = $firewall if -e $firewall;
 
+	$params->{timeout} = 60; # give some time to connect to the backup server
+
 	my $res = eval { mon_cmd($vmid, "backup", %$params) };
 	my $qmperr = $@;
 	$backup_job_uuid = $res->{UUID} if $res;
-- 
2.20.1




More information about the pve-devel mailing list