.storage
List all storage resources.
Aliases: .storages
Synopsis
.storage [enabled | disabled]
Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.
Description
Not a command of its own but an abbreviation of .storages: like Bareos, the Director accepts any unique prefix of a command name and runs the first matching command. Output, arguments, API modes and permissions are those of .storages. It reads only the configuration; enabled or disabled filter by state.
Arguments
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
enabled | keyword | one of: state | Only enabled resources. | ||
disabled | keyword | one of: state | Only disabled resources. |
Examples
List the storage resources:
.storage
List only enabled storages:
.storage enabled