From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 0C2351FF09D for ; Sun, 01 Nov 2026 23:59:31 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id ECEA0216BD; Sun, 01 Nov 2026 23:59:13 +0100 (CET) From: Thomas Lamprecht To: pve-devel@lists.proxmox.com Subject: [PATCH container 05/19] vzdump: honor bandwidth limit for backups to Proxmox Backup Server Date: Sun, 1 Nov 2026 23:58:32 +0100 Message-ID: <20261101225849.884587-6-t.lamprecht@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261101225849.884587-1-t.lamprecht@proxmox.com> References: <20261101225849.884587-1-t.lamprecht@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1793573948090 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.403 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: IN4QWSTEQIAFMS7QPAIGBPCOGT6FVVYR X-Message-ID-Hash: IN4QWSTEQIAFMS7QPAIGBPCOGT6FVVYR X-MailFrom: t.lamprecht@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The bandwidth limit applies to container backups to file-based storages and to the rsync passes of suspend mode, but it had no effect on the upload to a Proxmox Backup Server. Pass it on as the client's rate limit. VM backups are not affected, as QEMU applies their limit. Signed-off-by: Thomas Lamprecht --- src/PVE/VZDump/LXC.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm index 9bf95af..586857b 100644 --- a/src/PVE/VZDump/LXC.pm +++ b/src/PVE/VZDump/LXC.pm @@ -467,6 +467,7 @@ sub archive { push @$param, '--backup-time', $task->{backup_time}; push @$param, '--change-detection-mode', $opts->{"pbs-change-detection-mode"} if $opts->{"pbs-change-detection-mode"}; + push @$param, '--rate', "$opts->{bwlimit}KiB" if $opts->{bwlimit}; if (my $entries_max = $opts->{"performance"}->{"pbs-entries-max"}) { push $param->@*, '--entries-max', $entries_max; -- 2.47.3