5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-01-06 13:17:56 +03:00

vzdump: allow bandwidth limit for PBS backup too

QEMU handles it just as well as with VMA, so this was probably just
forgotten to implement for PBS.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
Stefan Reiter 2020-08-20 15:32:22 +02:00 committed by Thomas Lamprecht
parent 75f25f44bc
commit 2790636afd

View File

@ -538,6 +538,7 @@ sub archive_pbs {
devlist => $devlist,
'config-file' => $conffile,
};
$params->{speed} = $opts->{bwlimit}*1024 if $opts->{bwlimit};
$params->{fingerprint} = $fingerprint if defined($fingerprint);
$params->{'firewall-file'} = $firewall if -e $firewall;
if (-e $keyfile) {