show
Show resource records.
Synopsis
show [catalog[=<catalog>]] [catalogs] [client[=<client>]] [clients]
[console[=<console>]] [consoles] [director[=<director>]] [directors]
[fileset[=<fileset>]] [filesets] [job[=<job>]] [jobs]
[message[=<message>]] [messages] [pool[=<pool>]] [pools]
[profile[=<profile>]] [profiles] [schedule[=<schedule>]] [schedules]
[storage[=<storage>]] [storages] [user[=<user>]] [users]
[counter[=<counter>]] [counters] [jobdefs[=<jobdefs>]] [all] [verbose]
show disabled [catalog[=<catalog>]] [catalogs] [client[=<client>]] [clients]
[console[=<console>]] [consoles] [director[=<director>]]
[directors] [fileset[=<fileset>]] [filesets] [job[=<job>]]
[jobs] [message[=<message>]] [messages] [pool[=<pool>]] [pools]
[profile[=<profile>]] [profiles] [schedule[=<schedule>]]
[schedules] [storage[=<storage>]] [storages] [user[=<user>]]
[users] [counter[=<counter>]] [counters] [jobdefs[=<jobdefs>]]
[all] [verbose]
Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.
Description
Prints resources of the running configuration in configuration syntax; passwords are masked. Several items may be given in one line.
Arguments
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
catalog= | resource | from .catalogs | value optional | One resource, or every resource of the type. | |
catalogs | keyword | Every resource of the type. | |||
client= | resource | from .clients | value optional | One resource, or every resource of the type. | |
clients | keyword | Every resource of the type. | |||
console= | resource | from .consoles | value optional | One resource, or every resource of the type. | |
consoles | keyword | Every resource of the type. | |||
director= | string | value optional | One resource, or every resource of the type. | ||
directors | keyword | Every resource of the type. | |||
fileset= | resource | from .filesets | value optional | One resource, or every resource of the type. | |
filesets | keyword | Every resource of the type. | |||
job= | resource | from .jobs | value optional | One resource, or every resource of the type. | |
jobs | keyword | Every resource of the type. | |||
message= | resource | from .msgs | value optional | One resource, or every resource of the type. | |
messages | keyword | Every resource of the type. | |||
pool= | resource | from .pools | value optional | One resource, or every resource of the type. | |
pools | keyword | Every resource of the type. | |||
profile= | resource | from .profiles | value optional | One resource, or every resource of the type. | |
profiles | keyword | Every resource of the type. | |||
schedule= | resource | from .schedule | value optional | One resource, or every resource of the type. | |
schedules | keyword | Every resource of the type. | |||
storage= | resource | from .storages | value optional | One resource, or every resource of the type. | |
storages | keyword | Every resource of the type. | |||
user= | resource | from .users | value optional | One resource, or every resource of the type. | |
users | keyword | Every resource of the type. | |||
counter= | string | value optional | One resource, or every resource of the type. | ||
counters | keyword | Every resource of the type. | |||
jobdefs= | resource | from .jobdefs | value optional | One JobDefs, or every JobDefs. | |
all | keyword | Every resource. | |||
verbose | keyword | Every directive, also defaults. |
These arguments apply to every subcommand as well.
Subcommands
show disabled
Disabled resources.
Lists which jobs, clients and schedules are disabled. Without a further word all three lists are printed; jobs, clients or schedules limit the output to one list, any other word acts like none. In API mode 1 only the names are printed, in mode 2 the result is an object “disabled” with the lists jobs, clients and schedules.
Deviation from Bareos: odir shows the configured state, so a job disabled at runtime with the disable command does not appear here, whereas Bareos lists it.
show disabled [catalog[=<catalog>]] [catalogs] [client[=<client>]] [clients]
[console[=<console>]] [consoles] [director[=<director>]]
[directors] [fileset[=<fileset>]] [filesets] [job[=<job>]]
[jobs] [message[=<message>]] [messages] [pool[=<pool>]] [pools]
[profile[=<profile>]] [profiles] [schedule[=<schedule>]]
[schedules] [storage[=<storage>]] [storages] [user[=<user>]]
[users] [counter[=<counter>]] [counters] [jobdefs[=<jobdefs>]]
[all] [verbose]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
clients | keyword | Disabled clients. | |||
jobs | keyword | Disabled jobs. | |||
schedules | keyword | Disabled schedules. |
Also accepts the arguments of show: catalog, catalogs, client, clients, console, consoles, director, directors, fileset, filesets, job, jobs, message, messages, pool, pools, profile, profiles, schedule, schedules, storage, storages, user, users, counter, counters, jobdefs, all, verbose.
Disabled jobs, clients and schedules:
show disabled
Only the disabled schedules:
show disabled schedules
Examples
Two resources:
show pool=Full client=fd
Every job resource in configuration syntax:
show jobs
One client including all directives at their default values:
show client=bareos-fd verbose