]> git.proxmox.com Git - pve-docs.git/blobdiff - pve-storage-dir.adoc
cloud init: use 'order' variant for 'boot' property
[pve-docs.git] / pve-storage-dir.adoc
index e3d15ed2b6da492a3655ce12370f9203e409722c..4116fe51de7605730e0946a5f8d8079d0a745dc7 100644 (file)
@@ -1,9 +1,9 @@
+[[storage_directory]]
 Directory Backend
 -----------------
-include::attributes.txt[]
-
 ifdef::wiki[]
 :pve-toplevel:
+:title: Storage: Directory
 endif::wiki[]
 
 Storage pool type: `dir`
@@ -39,6 +39,7 @@ storage backends.
 |ISO images          |`template/iso/`
 |Container templates |`template/cache/`
 |Backup files        |`dump/`
+|Snippets            |`snippets/`
 |===========================================================
 
 
@@ -54,12 +55,13 @@ needs to be an absolute file system path.
 dir: backup
         path /mnt/backup
         content backup
-        maxfiles 7
+        prune-backups keep-last=7
+        max-protected-backups 3
 ----
 
-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 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
@@ -107,8 +109,8 @@ feature to create clones.
 .Storage features for backend `dir`
 [width="100%",cols="m,m,3*d",options="header"]
 |==============================================================================
-|Content types                     |Image formats         |Shared |Snapshots |Clones
-|images rootdir vztempl iso backup |raw qcow2 vmdk subvol |no     |qcow2     |qcow2
+|Content types                              |Image formats         |Shared |Snapshots |Clones
+|images rootdir vztmpl iso backup snippets  |raw qcow2 vmdk subvol |no     |qcow2     |qcow2
 |==============================================================================