show

Bareos

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

ArgumentTypeValues / sourceDefaultFlagsDescription
catalog=resourcefrom .catalogsvalue optionalOne resource, or every resource of the type.
catalogskeywordEvery resource of the type.
client=resourcefrom .clientsvalue optionalOne resource, or every resource of the type.
clientskeywordEvery resource of the type.
console=resourcefrom .consolesvalue optionalOne resource, or every resource of the type.
consoleskeywordEvery resource of the type.
director=stringvalue optionalOne resource, or every resource of the type.
directorskeywordEvery resource of the type.
fileset=resourcefrom .filesetsvalue optionalOne resource, or every resource of the type.
filesetskeywordEvery resource of the type.
job=resourcefrom .jobsvalue optionalOne resource, or every resource of the type.
jobskeywordEvery resource of the type.
message=resourcefrom .msgsvalue optionalOne resource, or every resource of the type.
messageskeywordEvery resource of the type.
pool=resourcefrom .poolsvalue optionalOne resource, or every resource of the type.
poolskeywordEvery resource of the type.
profile=resourcefrom .profilesvalue optionalOne resource, or every resource of the type.
profileskeywordEvery resource of the type.
schedule=resourcefrom .schedulevalue optionalOne resource, or every resource of the type.
scheduleskeywordEvery resource of the type.
storage=resourcefrom .storagesvalue optionalOne resource, or every resource of the type.
storageskeywordEvery resource of the type.
user=resourcefrom .usersvalue optionalOne resource, or every resource of the type.
userskeywordEvery resource of the type.
counter=stringvalue optionalOne resource, or every resource of the type.
counterskeywordEvery resource of the type.
jobdefs=resourcefrom .jobdefsvalue optionalOne JobDefs, or every JobDefs.
allkeywordEvery resource.
verbosekeywordEvery 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]
ArgumentTypeValues / sourceDefaultFlagsDescription
clientskeywordDisabled clients.
jobskeywordDisabled jobs.
scheduleskeywordDisabled 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

See also

configure, list, Command reference