.jobs

Bareos

List all job resources.

Synopsis

.jobs [type=<type>] [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 Job resources of the Director configuration, one per line, for completion of job= and selection lists. Only jobs allowed by the console’s Job ACL appear, in configuration order. It reads only the configuration.

type= compares only the first letter of its value, case-sensitively, with the job type letter (B Backup, R Restore, V Verify, D Admin, c Copy, g Migrate, O Consolidate, A Archive); so type=Backup works but type=backup returns nothing. enabled and disabled filter as for .clients.

Arguments

ArgumentTypeValues / sourceDefaultFlagsDescription
type=resourcefrom .typesJob type.
enabledkeywordone of: stateOnly enabled resources.
disabledkeywordone of: stateOnly disabled resources.

Examples

List the backup jobs:

.jobs type=Backup

List only disabled jobs:

.jobs disabled

See also

Command reference