+[[storage_directory]]
Directory Backend
-----------------
ifdef::wiki[]
|ISO images |`template/iso/`
|Container templates |`template/cache/`
|Backup files |`dump/`
+|Snippets |`snippets/`
|===========================================================
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
.Storage features for backend `dir`
[width="100%",cols="m,m,3*d",options="header"]
|==============================================================================
-|Content types |Image formats |Shared |Snapshots |Clones
-|images rootdir vztmpl 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
|==============================================================================