mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 13:14:11 +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->{'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;
|
||||
|
Loading…
Reference in New Issue
Block a user