Limit amount of open file handles for backup job
This commit is contained in:
parent
0b5beaf63d
commit
06eaf13ec0
@ -62,7 +62,7 @@
|
||||
''
|
||||
]
|
||||
++ lib.map (share: ''
|
||||
${pkgs.proxmox-backup-client}/bin/proxmox-backup-client backup nfs.pxar:/mnt/${share} --ns $PBS_NAMESPACE --backup-id share-${share} --change-detection-mode=metadata --exclude "#recycle"
|
||||
${pkgs.util-linux}/bin/prlimit --nofile=1024:1024 ${pkgs.proxmox-backup-client}/bin/proxmox-backup-client backup nfs.pxar:/mnt/${share} --ns $PBS_NAMESPACE --backup-id share-${share} --change-detection-mode=metadata --exclude "#recycle"
|
||||
'') inputs.secrets.lab.nas.backupShares
|
||||
)
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user