status
Report status.
Synopsis
status
status all
status director[=<director>] [days=<days>] [verbose]
status client[=<client>]
status storage[=<storage>] [slots] [drive=<drive>] [device=<device>]
status job=<job>
status jobid=<jobid>
status ujobid=<ujobid>
status scheduler[=<schedule>] [client=<client>] [job=<job>] [days=<days>]
status subscriptions [detail] [clients] [plugins] [all] [anonymize]
[client=<client>] [unknown]
status configuration
Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.
Description
Shows the state of the Director, a client, a storage or the scheduler. Without argument the Director asks which daemon.
Subcommands
status all
Director, every storage and every client.
Prints the Director status, followed by the status report of every Storage Daemon and every File Daemon the console may see. A daemon reachable under the same address is queried only once, so several Storage resources pointing at one Storage Daemon produce a single report.
status all
Director, every storage and every client in one report:
status all
status director
Director status.
Aliases: dir
Shows the Director’s header line (version, start time, job counters, database type), the jobs scheduled for the coming days, the running jobs, the most recently terminated jobs and connections initiated by clients. Any word starting with dir selects this report, so status dir works as well.
days= sets how many days ahead scheduled jobs are listed, from 0 to 500, default 1. An invalid value is ignored with a notice and 1 day is used.
status director[=<director>] [days=<days>] [verbose]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
director= | string | value optional | Director name. | ||
days= | integer | Scheduled jobs of the next days. | |||
verbose | keyword | More detail. |
Header, scheduled, running and terminated jobs:
status director
Scheduled jobs of the coming week:
status director days=7
status client
Status of a File Daemon.
Aliases: fd
Connects to the File Daemon of the given client and passes on its status report: version, running jobs and recently terminated jobs. Without a value, or with a name the console may not see or that does not exist, the Director shows the list of clients to choose from.
status client[=<client>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
client= | resource | from .clients | value optional | Client name. |
What the File Daemon bareos-fd is doing right now:
status client=bareos-fd
Choose the client from a list:
status client
status storage
Status of a Storage Daemon.
Aliases: sd
Connects to the Storage Daemon of the given Storage resource and passes on its report: devices, mounted volumes, running and terminated jobs. Without a value or with an unknown name the Director offers a list of storages. sd= is accepted as a synonym for storage=.
With slots the Director prints the slot table of an autochanger instead of the status report; for a device that is not an autochanger the Storage Daemon answers with an error.
status storage[=<storage>] [slots] [drive=<drive>] [device=<device>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
storage= | resource | from .storages | value optional | Storage name. | |
slots | keyword | Autochanger slots. | |||
drive= | integer | Drive number. | |||
device= | string | Device name. |
Devices and jobs of the Storage Daemon behind File:
status storage=File
Slot table of the autochanger:
status storage=Tape slots
status job
Status of the storage of a job.
Shows the Storage Daemon report for the storage used by the running job with this name. If no job of that name is running, the Director says so; for finished jobs use list jobs instead.
status job=<job>
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
job= | resource | from .jobs | Job name. |
Storage status of the running BackupClient1 job:
status job=BackupClient1
status jobid
Status of the storage of a job.
Like status job, but selects the running job by its JobId. If the job is not running, the Director reports “JobId <n> is not running.”.
status jobid=<jobid>
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
jobid= | integer | Job ID. |
Storage status of the running job 42:
status jobid=42
status ujobid
Status of the storage of a job.
Like status job, but selects the running job by its unique job name, the name with date, time and sequence number that the Director gives every job run.
status ujobid=<ujobid>
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
ujobid= | string | Unique job name. |
Storage status of exactly this job run:
status ujobid=BackupClient1.2026-11-20_21.00.00_09
status scheduler
Jobs the scheduler will start.
Aliases: schedule, sched
Lists which schedules trigger which jobs and previews the upcoming runs with level and pool. schedule= restricts the output to one schedule, client= to the jobs of one client and job= to one job; an unknown job name leads to the job selection list.
days= sets the preview period, from -365 to 365, default 7; negative values look back. days=<from>,<to> gives a range relative to now. In text mode only the larger absolute value of the two counts as days from now; under .api 2 the range is applied exactly.
status scheduler[=<schedule>] [client=<client>] [job=<job>] [days=<days>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
schedule= | resource | from .schedule | value optional | Schedule name. | |
client= | resource | from .clients | Jobs of a client. | ||
job= | resource | from .jobs | One job. | ||
days= | integer | Days ahead. | |||
schedule= | resource | from .schedule | Schedule name. |
Preview of the next seven days:
status scheduler
Runs of one schedule over two weeks:
status scheduler schedule=WeeklyCycle days=14
Only the jobs of one client:
status scheduler client=bareos-fd
status subscriptions
Subscription and unit counts.
Aliases: subscription, sub
Evaluates the backup units relevant for subscriptions from the catalog. clients adds a summary per client, plugins a summary per plugin, all every partial report; anonymize replaces client names by Client 1, Client 2 and so on. client= prints a detail report per fileset for one client.
The command needs access to all client, job and fileset resources and is refused for consoles with restricted ACLs. The words detail and unknown are obsolete and are ignored with a notice.
status subscriptions [detail] [clients] [plugins] [all] [anonymize]
[client=<client>] [unknown]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
detail | keyword | Details. | |||
clients | keyword | Per client. | |||
plugins | keyword | Per plugin. | |||
all | keyword | Everything. | |||
anonymize | keyword | Anonymize names. | |||
client= | resource | from .clients | One client. | ||
unknown | keyword | Unknown clients. |
Total backup units of all clients:
status subscriptions
Every partial report with client names hidden:
status subscriptions all anonymize
Units per fileset of one client:
status subscriptions client=bareos-fd
status configuration
Configuration warnings.
Aliases: config, conf
Checks the loaded configuration for deprecated settings and lists them. The console needs the right to run the configure command; otherwise the Director refuses the report.
status configuration
List deprecated directives in the configuration:
status configuration
Examples
Ask whether to show the Director, a storage, a client, the scheduler or all:
status
Director status with jobs scheduled for the next three days:
status director days=3