avoid backup command timeout with pbs

This commit is contained in:
Dietmar Maurer 2020-06-26 07:10:57 +02:00 committed by Thomas Lamprecht
parent 1fac3a0b31
commit f57666e949

View 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;