mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-04-30 06:12:27 +00:00
docs: rename "dirs" parameter, clarify paths
Chagne the name of the "dirs" parameter to "content-dirs" and be less misleading with "absolute paths". Signed-off-by: Leo Nunner <l.nunner@proxmox.com>
This commit is contained in:
parent
432750f71e
commit
93ee25d0be
@ -57,7 +57,7 @@ path::
|
|||||||
|
|
||||||
The local mount point. Optional, defaults to `/mnt/pve/<STORAGE_ID>/`.
|
The local mount point. Optional, defaults to `/mnt/pve/<STORAGE_ID>/`.
|
||||||
|
|
||||||
dirs::
|
content-dirs::
|
||||||
|
|
||||||
Overrides for the default directory layout. Optional.
|
Overrides for the default directory layout. Optional.
|
||||||
|
|
||||||
|
@ -50,14 +50,15 @@ This backend supports all common storage properties, and adds two
|
|||||||
additional properties. The `path` property is used to specify the
|
additional properties. The `path` property is used to specify the
|
||||||
directory. This needs to be an absolute file system path.
|
directory. This needs to be an absolute file system path.
|
||||||
|
|
||||||
The optional `dirs` property allows for the default layout to be
|
The optional `content-dirs` property allows for the default layout
|
||||||
changed. It consists of a comma-separated list of identifiers in
|
to be changed. It consists of a comma-separated list of identifiers
|
||||||
the following format:
|
in the following format:
|
||||||
|
|
||||||
vtype:path
|
vtype=path
|
||||||
|
|
||||||
Where `vtype` is one of the allowed content types for the storage, and
|
Where `vtype` is one of the allowed content types for the storage, and
|
||||||
`path` is an absolute file system path.
|
`path` is a path relative to the mountpoint of the storage, preceded
|
||||||
|
with /.
|
||||||
|
|
||||||
.Configuration Example (`/etc/pve/storage.cfg`)
|
.Configuration Example (`/etc/pve/storage.cfg`)
|
||||||
----
|
----
|
||||||
@ -66,7 +67,7 @@ dir: backup
|
|||||||
content backup
|
content backup
|
||||||
prune-backups keep-last=7
|
prune-backups keep-last=7
|
||||||
max-protected-backups 3
|
max-protected-backups 3
|
||||||
dirs backup:/custom/backup/dir
|
content-dirs backup=/custom/backup/dir
|
||||||
----
|
----
|
||||||
|
|
||||||
The above configuration defines a storage pool called `backup`. That pool can be
|
The above configuration defines a storage pool called `backup`. That pool can be
|
||||||
|
@ -40,7 +40,7 @@ path::
|
|||||||
|
|
||||||
The local mount point (defaults to `/mnt/pve/<STORAGE_ID>/`).
|
The local mount point (defaults to `/mnt/pve/<STORAGE_ID>/`).
|
||||||
|
|
||||||
dirs::
|
content-dirs::
|
||||||
|
|
||||||
Overrides for the default directory layout. Optional.
|
Overrides for the default directory layout. Optional.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user