]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/VZDump/QemuServer.pm
avoid backup command timeout with pbs
[qemu-server.git] / PVE / VZDump / QemuServer.pm
index 8629c4966d5a387446fa6e72a985a0fe1d7a64c0..8513d89743ccefbb1c875af1a2f5d30607cfcd82 100644 (file)
@@ -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;