.clients

Bareos

List all client resources.

Synopsis

.clients [enabled | disabled]

Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.

Description

Prints the names of all Client resources of the Director configuration, one per line, without a header. Meant for programs: bconsole and oconsole complete client= with it, the WebUI fills its selection lists. It reads only the configuration and changes nothing.

Only clients allowed by the console’s Client ACL appear, in configuration order. enabled or disabled filter by state; a value after the keyword is ignored, and both together give an empty list.

Arguments

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

Examples

List all visible clients:

.clients

List only enabled clients:

.clients enabled

See also

Command reference