public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH many 0/8] fix #7530: Implement download bandwidth and restore limits for pbs-restore
@ 2026-08-25  9:17 Christian Ebner
  2026-08-25  9:17 ` [PATCH proxmox 1/8] pbs-api-types: expose ClientRateLimitConfig fields as pub Christian Ebner
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Christian Ebner @ 2026-08-25  9:17 UTC (permalink / raw)
  To: pbs-devel, pve-devel

This patch series implements rate limiting functionality for restores
using pbs-restore. In particular it exposes optional `bwlimit` and
`rate-limit` flags, the former to impose download bandwidth limits,
the latter to impose limits on the output data stream, taking into
account zero size chunks and data after decompression.

The output rate limit is further used to enforce the limit when
performing restores via the qemu-server stack, so it is imposed also
when the restore is performed via qmrestore and the PVE UI.

For proxmox-backup-qemu some cleanups and dependencies are bumped as
part of the series as well in order to keep it up-to-date and compile
it cleanly with the latest version available of the proxmox-backup
submodule.

Required build order is:
- pbs-api-types
- proxmox-backup-qemu
- pve-qemu
- qemu-server

Link to the bugtracker issue:
https://bugzilla.proxmox.com/show_bug.cgi?id=7530


proxmox:

Christian Ebner (1):
  pbs-api-types: expose ClientRateLimitConfig fields as pub

 pbs-api-types/src/traffic_control.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


proxmox-backup-qemu:

Christian Ebner (5):
  restore: fix useless borrow clippy warnings for archive names
  commands: fix clippy error for reimplementing Result::ok()
  submodules: bump proxmox-backup submodule to 4.2.5 and fix api changes
  restore: implement `bw-limit` parameter imposing download rate limits
  restore: implement `rate-limit` imposing chunk data stream limits

 Cargo.toml                |  4 ++-
 current-api.h             | 14 +++++++++
 src/backup.rs             |  6 ++--
 src/commands.rs           | 26 +++++-----------
 src/lib.rs                | 63 +++++++++++++++++++++++++++++++++++++--
 src/restore.rs            | 44 ++++++++++++++++++++-------
 submodules/proxmox-backup |  2 +-
 7 files changed, 125 insertions(+), 34 deletions(-)


pve-qemu:

Christian Ebner (1):
  fix #7530: pbs-restore: expose optional rate limit parameters

 ...se-optional-parameters-imposing-band.patch | 78 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 79 insertions(+)
 create mode 100644 debian/patches/pve/0048-pbs-restore-expose-optional-parameters-imposing-band.patch


qemu-server:

Christian Ebner (1):
  pbs-restore: set restore bandwidth limit for volumes

 debian/control        | 2 +-
 src/PVE/QemuServer.pm | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)


Summary over all repositories:
  12 files changed, 210 insertions(+), 37 deletions(-)

-- 
Generated by murpp 0.11.0




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-08-25  9:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-25  9:17 [PATCH many 0/8] fix #7530: Implement download bandwidth and restore limits for pbs-restore Christian Ebner
2026-08-25  9:17 ` [PATCH proxmox 1/8] pbs-api-types: expose ClientRateLimitConfig fields as pub Christian Ebner
2026-08-25  9:17 ` [PATCH proxmox-backup-qemu 2/8] restore: fix useless borrow clippy warnings for archive names Christian Ebner
2026-08-25  9:17 ` [PATCH proxmox-backup-qemu 3/8] commands: fix clippy error for reimplementing Result::ok() Christian Ebner
2026-08-25  9:17 ` [PATCH proxmox-backup-qemu 4/8] submodules: bump proxmox-backup submodule to 4.2.5 and fix api changes Christian Ebner
2026-08-25  9:17 ` [PATCH proxmox-backup-qemu 5/8] restore: implement `bw-limit` parameter imposing download rate limits Christian Ebner
2026-08-25  9:17 ` [PATCH proxmox-backup-qemu 6/8] restore: implement `rate-limit` imposing chunk data stream limits Christian Ebner
2026-08-25  9:17 ` [PATCH pve-qemu 7/8] fix #7530: pbs-restore: expose optional rate limit parameters Christian Ebner
2026-08-25  9:17 ` [PATCH qemu-server 8/8] pbs-restore: set restore bandwidth limit for volumes Christian Ebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal