From: Dietmar Maurer Date: Fri, 26 Jun 2020 05:10:57 +0000 (+0200) Subject: avoid backup command timeout with pbs X-Git-Url: https://git.proxmox.com/?p=qemu-server.git;a=commitdiff_plain;h=f57666e9496c5ea06d937c4adf0a8def95f2487c;hp=1fac3a0b317367edd3896b063cf741a3a6367369 avoid backup command timeout with pbs --- 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;