configuring pbs-entries-max can avoid failing backups due to a high amount of files in folders where a folder exclusion is not possible
Signed-off-by: Alexander Zeidler <a.zeid...@proxmox.com> --- Changes since v3: Apply Fiona's comments: * simplify description Changes since v2: Apply Fiona's comments: * rephrase description * fix dot style nit Changes since v1: * improve description * move description to 'performance' section * remove arrow alignment src/PVE/VZDump/Common.pm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/PVE/VZDump/Common.pm b/src/PVE/VZDump/Common.pm index 31e9fdb..be605af 100644 --- a/src/PVE/VZDump/Common.pm +++ b/src/PVE/VZDump/Common.pm @@ -88,6 +88,15 @@ PVE::JSONSchema::register_format('backup-performance', { default => 16, optional => 1, }, + 'pbs-entries-max' => { + description => "Applies to container backups sent to PBS. Limits the number of entries " + ."allowed in memory at a given time to avoid unintended OOM situations. Increase it to " + ."enable backups of containers with a large amount of files.", + type => 'integer', + minimum => 1, + default => 1048576, + optional => 1, + }, }); my $confdesc = { -- 2.39.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel