.storage

Bareos

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

ArgumentTypeValues / sourceDefaultFlagsDescription
enabledkeywordone of: stateOnly enabled resources.
disabledkeywordone of: stateOnly disabled resources.

Examples

List the storage resources:

.storage

List only enabled storages:

.storage enabled

See also

Command reference