]> git.proxmox.com Git - pve-docs.git/commitdiff
vzdump/storage: mention protected backups limit and give an example
authorFabian Ebner <f.ebner@proxmox.com>
Tue, 29 Mar 2022 12:53:18 +0000 (14:53 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 6 Apr 2022 10:44:47 +0000 (12:44 +0200)
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
pve-storage-dir.adoc
vzdump.adoc

index d1ca3eb7cc5b0c21eb2f59b97d366b16af1d0f8b..4116fe51de7605730e0946a5f8d8079d0a745dc7 100644 (file)
@@ -56,11 +56,12 @@ dir: backup
         path /mnt/backup
         content backup
         prune-backups keep-last=7
+        max-protected-backups 3
 ----
 
 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/...`.
+used to store up to 7 regular backups (`keep-last=7`) and 3 protected backups
+per VM. The real path for the backup files is `/mnt/backup/dump/...`.
 
 
 File naming conventions
index b9dca2acf8e2e59c55ce560706a5deda27fe105e..093f639e1e961ed85e46f6f12819a714aff068ca 100644 (file)
@@ -301,6 +301,11 @@ For filesystem-based storages, the protection is implemented via a sentinel file
 `<backup-name>.protected`. For Proxmox Backup Server, it is handled on the
 server side (available since Proxmox Backup Server version 2.1).
 
+Use the storage option `max-protected-backups` to control how many protected
+backups per guest are allowed on the storage. Use `-1` for unlimited. The
+default is unlimited for users with `Datastore.Allocate` privilege and `5` for
+other users.
+
 [[vzdump_restore]]
 Restore
 -------