From 5c85b0a1683b3fcd9919b5344590a83a2d5b9c76 Mon Sep 17 00:00:00 2001 From: Fabian Ebner Date: Tue, 29 Mar 2022 14:53:17 +0200 Subject: [PATCH] storage: switch to prune-backups in examples because maxfiles is deprecated. Signed-off-by: Fabian Ebner --- pve-storage-dir.adoc | 8 ++++---- pve-storage-pbs.adoc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pve-storage-dir.adoc b/pve-storage-dir.adoc index 090a44b..d1ca3eb 100644 --- a/pve-storage-dir.adoc +++ b/pve-storage-dir.adoc @@ -55,12 +55,12 @@ needs to be an absolute file system path. dir: backup path /mnt/backup content backup - maxfiles 7 + prune-backups keep-last=7 ---- -Above configuration defines a storage pool called `backup`. That pool -can be used to store up to 7 backups (`maxfiles 7`) per VM. The real -path for the backup files is `/mnt/backup/dump/...`. +The above configuration defines a storage pool called `backup`. That pool can be +used to store up to 7 backups (`keep-last=7`) per VM. The real path for the +backup files is `/mnt/backup/dump/...`. File naming conventions diff --git a/pve-storage-pbs.adoc b/pve-storage-pbs.adoc index a3d7da1..0ec93de 100644 --- a/pve-storage-pbs.adoc +++ b/pve-storage-pbs.adoc @@ -71,7 +71,7 @@ pbs: backup server enya.proxmox.com content backup fingerprint 09:54:ef:..snip..:88:af:47:fe:4c:3b:cf:8b:26:88:0b:4e:3c:b2 - maxfiles 0 + prune-backups keep-all=1 username archiver@pbs ---- -- 2.39.2