]> git.proxmox.com Git - pve-docs.git/commitdiff
storage: switch to prune-backups in examples
authorFabian Ebner <f.ebner@proxmox.com>
Tue, 29 Mar 2022 12:53:17 +0000 (14:53 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 6 Apr 2022 10:44:47 +0000 (12:44 +0200)
because maxfiles is deprecated.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
pve-storage-dir.adoc
pve-storage-pbs.adoc

index 090a44b2ee62bb3f5707a001d632c346d55ae5a6..d1ca3eb7cc5b0c21eb2f59b97d366b16af1d0f8b 100644 (file)
@@ -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
index a3d7da18347174b161291750bac4167f619d5bd8..0ec93de97a3846b288319fcdc1882b60ccc32118 100644 (file)
@@ -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
 ----