From f57666e9496c5ea06d937c4adf0a8def95f2487c Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 26 Jun 2020 07:10:57 +0200 Subject: [PATCH] avoid backup command timeout with pbs --- PVE/VZDump/QemuServer.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm index 8629c49..8513d89 100644 --- a/PVE/VZDump/QemuServer.pm +++ b/PVE/VZDump/QemuServer.pm @@ -400,6 +400,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.39.2