]> git.proxmox.com Git - qemu-server.git/commitdiff
avoid backup command timeout with pbs
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 26 Jun 2020 05:10:57 +0000 (07:10 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 26 Jun 2020 07:30:31 +0000 (09:30 +0200)
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;