[pve-devel] [PATCH manager/container/guest-common 0/4] fix #3069: add pbs-entries-max to vzdump.conf

Alexander Zeidler a.zeidler at proxmox.com
Tue Jun 13 15:42:50 CEST 2023


Users reported[1] about failing backups to PBS when having a large amount of files in a directory.

proxmox-backup-client has already 'entries-max' implemented. The default value is also a kind of DOS prevention feature. Overriding this parameter needs at least 'Sys.Modify' permissions.

This patch series makes the new optional parameter 'pbs-entries-max' available in vzdump and vzdump.conf.

[1] https://bugzilla.proxmox.com/show_bug.cgi?id=3069


pve-manager:

Alexander Zeidler (2):
  api: backup: refactor backup permission check
  add 'pbs-entries-max' to permission check & config

 PVE/API2/Backup.pm  | 7 +++++--
 configs/vzdump.conf | 1 +
 2 files changed, 6 insertions(+), 2 deletions(-)


pve-container:

Alexander Zeidler (1):
  add 'pbs-entries-max' parameter

 src/PVE/VZDump/LXC.pm | 5 +++++
 1 file changed, 5 insertions(+)


pve-guest-common:

Alexander Zeidler (1):
  vzdump: schema: add 'pbs-entries-max' property

 src/PVE/VZDump/Common.pm | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.39.2






More information about the pve-devel mailing list