5
0
mirror of git://git.proxmox.com/git/pve-guest-common.git synced 2025-01-05 09:17:48 +03:00

fix #3069: vzdump: schema: add 'pbs-entries-max' property

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.zeidler@proxmox.com>
This commit is contained in:
Alexander Zeidler 2023-07-28 15:28:57 +02:00 committed by Thomas Lamprecht
parent 018565379e
commit 9234d8a1fe

View File

@ -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 = {