mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-03 01:29:13 +00:00
avoid backup command timeout with pbs
This commit is contained in:
parent
1fac3a0b31
commit
f57666e949
@ -400,6 +400,8 @@ sub archive_pbs {
|
|||||||
$params->{fingerprint} = $fingerprint if defined($fingerprint);
|
$params->{fingerprint} = $fingerprint if defined($fingerprint);
|
||||||
$params->{'firewall-file'} = $firewall if -e $firewall;
|
$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 $res = eval { mon_cmd($vmid, "backup", %$params) };
|
||||||
my $qmperr = $@;
|
my $qmperr = $@;
|
||||||
$backup_job_uuid = $res->{UUID} if $res;
|
$backup_job_uuid = $res->{UUID} if $res;
|
||||||
|
Loading…
Reference in New Issue
Block a user