From 2790636afd98699b7cb6c6ad6f516ef814e42ba5 Mon Sep 17 00:00:00 2001 From: Stefan Reiter Date: Thu, 20 Aug 2020 15:32:22 +0200 Subject: [PATCH] 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 --- PVE/VZDump/QemuServer.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm index e2224631..46400090 100644 --- a/PVE/VZDump/QemuServer.pm +++ b/PVE/VZDump/QemuServer.pm @@ -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) {