list
List objects from catalog.
Aliases: llist
Synopsis
list basefiles [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>] [jobid=<jobid>]
[ujobid=<ujobid>]
list backups [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] client=<client> [fileset=<fileset>]
[jobstatus=<jobstatus>] [level=<F|I|D>[,...]]
[order=<asc|desc|ascending|descending>] [days=<days>]
[hours=<hours>] [reverse]
list client=<client> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
list clients [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>]
list copies [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] [jobid=<jobid>[,...]]
list files [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] [jobid=<jobid>] [ujobid=<ujobid>] [type=<type>]
list filesets [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>]
list fileset[=<fileset>] [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
[filesetid=<filesetid>] [jobid=<jobid>]
[ujobid=<ujobid>]
list jobs [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] [client=<client>] [jobstatus=<jobstatus>[,...]]
[jobtype=<jobtype>[,...]] [joblevel=<joblevel>[,...]]
[level=<level>[,...]] [volume=<volume>] [pool=<pool>] [days=<days>]
[hours=<hours>] [last] [count] [reverse] [job=<job>]
[jobname=<jobname>] [jobid=<jobid>[,...]] [ujobid=<ujobid>]
[fileset=<fileset>]
list job=<job> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>] [client=<client>]
[jobstatus=<jobstatus>[,...]] [jobtype=<jobtype>[,...]]
[joblevel=<joblevel>[,...]] [level=<level>[,...]]
[volume=<volume>] [pool=<pool>] [days=<days>] [hours=<hours>]
[last] [count] [reverse] [jobname=<jobname>]
[jobid=<jobid>[,...]] [ujobid=<ujobid>] [fileset=<fileset>]
list jobname=<jobname> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
[client=<client>] [jobstatus=<jobstatus>[,...]]
[jobtype=<jobtype>[,...]] [joblevel=<joblevel>[,...]]
[level=<level>[,...]] [volume=<volume>] [pool=<pool>]
[days=<days>] [hours=<hours>] [last] [count] [reverse]
[jobid=<jobid>[,...]] [ujobid=<ujobid>]
[fileset=<fileset>]
list jobid=<jobid>[,...] [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
list ujobid=<ujobid> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
list joblog [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] [jobid=<jobid>] [ujobid=<ujobid>] [count]
[reverse]
list jobmedia [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] [jobid=<jobid>] [ujobid=<ujobid>]
list jobtotals [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
list jobstatistics [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>] [jobid=<jobid>]
[job=<job>]
list log [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] [client=<client>] [reverse]
list media[=<media>] [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>] [jobid=<jobid>]
[ujobid=<ujobid>] [pool=<pool>] [all]
list nextvolume [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>] [job=<job>]
[days=<days>]
list pools [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>]
list pool=<pool> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
list poolid=<poolid> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
list storages [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>]
list storage=<storage> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
list volumes [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] [jobid=<jobid>] [ujobid=<ujobid>]
[pool=<pool>] [all] [count]
list volume=<volume> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
list volumeid=<volumeid> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
list mediaid=<mediaid> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
list schedules [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.
Description
Lists catalog records; llist prints every field of each record. `limit=` and `offset=` page through the result, `current` limits to records of configured resources, `enabled`/`disabled` to resources in that state.
Arguments
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
limit= | integer | Most rows. | |||
offset= | integer | Rows to skip. | |||
current | keyword | Only configured resources. | |||
enabled | keyword | one of: state | Only enabled. | ||
disabled | keyword | one of: state | Only disabled. | ||
catalog= | resource | from .catalogs | Catalog name. |
These arguments apply to every subcommand as well.
Subcommands
list basefiles
Base files of a job.
Lists the base files of a job that used a Base job, that is the files taken over from the base backup instead of being saved again; jobid= or ujobid= is required.
list basefiles [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>] [jobid=<jobid>]
[ujobid=<ujobid>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
jobid= | integer | Job ID. | |||
ujobid= | string | Unique job name. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The base files referenced by job 42:
list basefiles jobid=42
list backups
Backups of a client.
Lists the backups of one client; client= is required. fileset= limits the listing to one FileSet, fileset=any includes all of them. jobstatus=, level=, days= and hours= filter as with list jobs, order=asc or order=desc sorts by start time; any other order value is an error.
Without client= the reply is “missing parameter: client”. A FileSet outside the FileSet ACL of the console gives “Access to specified FileSet not allowed.”
list backups [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] client=<client> [fileset=<fileset>]
[jobstatus=<jobstatus>] [level=<F|I|D>[,...]]
[order=<asc|desc|ascending|descending>] [days=<days>]
[hours=<hours>] [reverse]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
client= | resource | from .clients | required | Client name. | |
fileset= | resource | from .filesets | FileSet name. | ||
jobstatus= | string | Job status letters. | |||
level= | enum | F, I, D | list | Level. | |
order= | enum | asc, desc, ascending, descending | Sort order. | ||
days= | integer | Of the last days. | |||
hours= | integer | Of the last hours. | |||
reverse | keyword | Newest first. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The five newest backups of bareos-fd:
list backups client=bareos-fd fileset=any order=desc limit=5
The full backups of bareos-fd:
list backups client=bareos-fd level=Full
list client
One client.
Shows the catalog record of one client by name. list client without a value is not a valid keyword and gives “Unknown list keyword”.
list client=<client> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
client= | resource | from .clients | Client name. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The catalog record of bareos-fd:
list client=bareos-fd
list clients
Every client.
Lists every client record of the catalog with id, name, file retention and job retention; llist adds the uname and autoprune setting. enabled or disabled keep only clients in that state in the configuration, current only clients still configured.
list clients [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>]
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
All clients of the catalog:
list clients
Clients disabled in the configuration:
list clients disabled
list copies
Copies of jobs.
Lists copy jobs together with the job they were copied from and the media type. jobid= takes one JobId or a comma-separated list and limits the listing to copies of or made by these jobs. If there are no copy jobs, the reply is empty.
list copies [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] [jobid=<jobid>[,...]]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
jobid= | integer | list | Job ID. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
All copy jobs of the catalog:
list copies
The copies of jobs 42 and 43:
list copies jobid=42,43
list files
Files of a job.
Lists the paths of all files saved by one job, including the base files it refers to; jobid= or ujobid= is required. limit= and offset= do not shorten the text listing, they only appear in the range information of API mode 2.
list files [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] [jobid=<jobid>] [ujobid=<ujobid>] [type=<type>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
jobid= | integer | Job ID. | |||
ujobid= | string | Unique job name. | |||
type= | string | File type. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
Every file saved by job 42:
list files jobid=42
list filesets
Every FileSet.
Lists every FileSet record of the catalog with id, name, MD5 sum, creation time and FileSet text. A FileSet gets a new record whenever its definition changes; current keeps only FileSets still defined in the configuration.
list filesets [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>]
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
All FileSet records of the catalog:
list filesets
Only FileSets still present in the configuration:
list filesets current
list fileset
One FileSet.
Shows one FileSet record of the catalog, including the stored FileSet text and its MD5 sum. The record is selected by filesetid= or by the job that used it with jobid= or ujobid=; without one of them the command reports an error.
list fileset[=<fileset>] [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
[filesetid=<filesetid>] [jobid=<jobid>]
[ujobid=<ujobid>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
fileset= | resource | from .filesets | value optional | FileSet name. | |
filesetid= | integer | FileSet ID. | |||
jobid= | integer | Job ID. | |||
ujobid= | string | Unique job name. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The FileSet used by job 42:
list fileset jobid=42
The FileSet record with id 3:
list fileset filesetid=3
list jobs
Jobs.
Lists the jobs of the catalog, one row per job. The filters can be combined: job= or jobname=, client=, jobstatus= (letters such as T, E, f or names such as error, comma-separated), jobtype= (letter or exact name such as Backup), joblevel= or level= (F, I, D or Full, Incremental, Differential), volume=, pool=, days= and hours=. last keeps only the latest run per job name, count prints just the number of rows, reverse shows the newest first.
limit= and offset= page through the result. For a console with ACLs the limit is applied before the rows the console may not see are removed, so a limited listing can come out shorter or even empty. An unknown jobtype or level is an error.
list jobs [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] [client=<client>] [jobstatus=<jobstatus>[,...]]
[jobtype=<jobtype>[,...]] [joblevel=<joblevel>[,...]]
[level=<level>[,...]] [volume=<volume>] [pool=<pool>] [days=<days>]
[hours=<hours>] [last] [count] [reverse] [job=<job>]
[jobname=<jobname>] [jobid=<jobid>[,...]] [ujobid=<ujobid>]
[fileset=<fileset>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
client= | resource | from .clients | Client name. | ||
jobstatus= | string | list | Job status letters. | ||
jobtype= | string | list | Job type letters. | ||
joblevel= | string | list | Job level letters. | ||
level= | string | list | Job level letters. | ||
volume= | resource | from .media | Volume name. | ||
pool= | resource | from .pools | Pool name. | ||
days= | integer | Of the last days. | |||
hours= | integer | Of the last hours. | |||
last | keyword | Only the last run of each job. | |||
count | keyword | Only count. | |||
reverse | keyword | Newest first (Onesimus). | |||
job= | resource | from .jobs | Job name. | ||
jobname= | string | Job name. | |||
jobid= | integer | list | Job ID. | ||
ujobid= | string | Unique job name. | |||
fileset= | resource | from .filesets | FileSet name. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The latest run of every job name on bareos-fd:
list jobs client=bareos-fd last
Successful full backups of the last 30 days:
list jobs level=Full jobstatus=T days=30
The number of jobs in the catalog:
list jobs count
list job
Jobs of one name.
Lists the jobs with the given job name; it works like list jobs job=<name> and accepts the same filters.
list job=<job> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>] [client=<client>]
[jobstatus=<jobstatus>[,...]] [jobtype=<jobtype>[,...]]
[joblevel=<joblevel>[,...]] [level=<level>[,...]]
[volume=<volume>] [pool=<pool>] [days=<days>] [hours=<hours>]
[last] [count] [reverse] [jobname=<jobname>]
[jobid=<jobid>[,...]] [ujobid=<ujobid>] [fileset=<fileset>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
job= | resource | from .jobs | Job name. | ||
client= | resource | from .clients | Client name. | ||
jobstatus= | string | list | Job status letters. | ||
jobtype= | string | list | Job type letters. | ||
joblevel= | string | list | Job level letters. | ||
level= | string | list | Job level letters. | ||
volume= | resource | from .media | Volume name. | ||
pool= | resource | from .pools | Pool name. | ||
days= | integer | Of the last days. | |||
hours= | integer | Of the last hours. | |||
last | keyword | Only the last run of each job. | |||
count | keyword | Only count. | |||
reverse | keyword | Newest first (Onesimus). | |||
jobname= | string | Job name. | |||
jobid= | integer | list | Job ID. | ||
ujobid= | string | Unique job name. | |||
fileset= | resource | from .filesets | FileSet name. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The first five runs of BackupClient1:
list job=BackupClient1 limit=5
The failed runs of BackupClient1:
list job=BackupClient1 jobstatus=E
list jobname
Jobs of one name.
list jobname=<jobname> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
[client=<client>] [jobstatus=<jobstatus>[,...]]
[jobtype=<jobtype>[,...]] [joblevel=<joblevel>[,...]]
[level=<level>[,...]] [volume=<volume>] [pool=<pool>]
[days=<days>] [hours=<hours>] [last] [count] [reverse]
[jobid=<jobid>[,...]] [ujobid=<ujobid>]
[fileset=<fileset>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
jobname= | resource | from .jobs | Job name. | ||
client= | resource | from .clients | Client name. | ||
jobstatus= | string | list | Job status letters. | ||
jobtype= | string | list | Job type letters. | ||
joblevel= | string | list | Job level letters. | ||
level= | string | list | Job level letters. | ||
volume= | resource | from .media | Volume name. | ||
pool= | resource | from .pools | Pool name. | ||
days= | integer | Of the last days. | |||
hours= | integer | Of the last hours. | |||
last | keyword | Only the last run of each job. | |||
count | keyword | Only count. | |||
reverse | keyword | Newest first (Onesimus). | |||
jobname= | string | Job name. | |||
jobid= | integer | list | Job ID. | ||
ujobid= | string | Unique job name. | |||
fileset= | resource | from .filesets | FileSet name. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
list jobid
One job.
Lists exactly the job with this JobId; llist jobid= shows all its fields one below the other. An unknown JobId gives an empty reply, and list jobid without a value reports “Missing jobid parameter”.
list jobid=<jobid>[,...] [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
jobid= | string | list | Job IDs. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The catalog row of job 42:
list jobid=42
list ujobid
One job.
list ujobid=<ujobid> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
ujobid= | string | Unique job name. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
list joblog
Log of a job.
Prints the stored log of one job with time stamps; jobid= or ujobid= selects the job. count prints only the number of log lines. An unknown JobId or a job the console may not access gives “jobid not found in db, access to job or client denied by ACL, or client not found in db”.
list joblog [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] [jobid=<jobid>] [ujobid=<ujobid>] [count]
[reverse]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
jobid= | integer | Job ID. | |||
ujobid= | string | Unique job name. | |||
count | keyword | Only count. | |||
reverse | keyword | Newest first. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The complete log of job 42:
list joblog jobid=42
The number of log lines of job 42:
list joblog jobid=42 count
list jobmedia
Volumes of a job.
Shows which volumes a job wrote, with the first and last file index on each volume; without jobid= or ujobid= the records of all jobs are listed. llist adds the media id, start and end file and block.
list jobmedia [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] [jobid=<jobid>] [ujobid=<ujobid>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
jobid= | integer | Job ID. | |||
ujobid= | string | Unique job name. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The volumes written by job 42:
list jobmedia jobid=42
list jobtotals
Totals per job name.
Shows the number of jobs, files and bytes per job name for backup, archive and copy jobs, followed by the totals over all of them. In API mode 2 the rows are under “jobs” and the sums under “jobtotals”.
list jobtotals [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
Jobs, files and bytes per job name and in total:
list jobtotals
list jobstatistics
Statistics of a job.
Aliases: jobstats
Lists the statistics samples (sample time, files and bytes) recorded for a running or finished job; jobid= is required. Without it, or for a job the console may not access, the reply is “no jobid given”; a job without statistics gives “No results to list.” The alias jobstats is accepted.
list jobstatistics [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>] [jobid=<jobid>]
[job=<job>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
jobid= | integer | Job ID. | |||
job= | resource | from .jobs | Job name. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The statistics samples of job 42:
list jobstatistics jobid=42
list log
Director log.
Prints the most recent log lines of all jobs from the catalog, by default the last five; limit= changes the number. client= restricts them to jobs of one client, an unknown client gives “invalid client argument”. The lines appear oldest first, reverse puts the newest first.
list log [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] [client=<client>] [reverse]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
client= | resource | from .clients | Client name. | ||
reverse | keyword | Newest first. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The last 20 log lines of all jobs:
list log limit=20
The latest log lines of bareos-fd, newest first:
list log client=bareos-fd reverse
list media
Volumes.
Alias of list volumes: without a value it lists the volumes grouped by pool and takes the same keywords all, pool=, jobid= and ujobid=; with a value, media=<name>, it shows that single volume like list volume=.
list media[=<media>] [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>] [jobid=<jobid>]
[ujobid=<ujobid>] [pool=<pool>] [all]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
media= | resource | from .media | value optional | Volume name. | |
jobid= | integer | Job ID. | |||
ujobid= | string | Unique job name. | |||
pool= | resource | from .pools | Pool name. | ||
all | keyword | Every pool. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The volumes of the pool Incremental:
list media pool=Incremental
One volume by name:
list media=Full-0001
list nextvolume
Next volume of a job.
Aliases: nextvol
Shows which volume a job would write next, once for every scheduled run within the coming days; days= sets how many days to look ahead (at most 50, other values are ignored with a warning). Without job= the Director lists the job resources and asks for one; a dot aborts. For jobs that write no volume, such as restore jobs, it reports that no next volume can be found.
Deviation from Bareos: for an unknown job odir reports success, whereas Bareos returns an error. In API mode 2 the result is empty.
list nextvolume [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>] [job=<job>]
[days=<days>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
job= | resource | from .jobs | Job name. | ||
days= | integer | Days ahead. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The next volume BackupClient1 will use:
list nextvolume job=BackupClient1
The next volumes for the runs of the coming week:
list nextvolume job=BackupClient1 days=7
list pools
Every pool.
Lists every pool record of the catalog with id, name, number of volumes, maximum volumes, pool type and label format. llist adds all other fields of the records.
list pools [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>]
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
All pools of the catalog:
list pools
list pool
One pool.
Shows the catalog record of one pool by name; poolid= selects it by id instead.
list pool=<pool> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
pool= | resource | from .pools | Pool name. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The catalog record of the pool Full:
list pool=Full
list poolid
One pool.
list poolid=<poolid> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
poolid= | integer | Pool ID. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
list storages
Every storage.
Lists every storage record of the catalog. current, enabled and disabled restrict the listing to storages still configured or in that state.
list storages [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>]
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
All storages of the catalog:
list storages
list storage
One storage.
list storage=<storage> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
storage= | resource | from .storages | Storage name. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
list volumes
Volumes.
Lists the volumes of the catalog grouped by pool. all prints them in one table, pool= restricts the listing to one pool, jobid= or ujobid= shows only the names of the volumes a job used, and count prints the number of volumes per pool. media is an alias with the same keywords.
If the pool given with pool= is not in the catalog, the Director lists the defined pools and asks for a selection; a dot aborts. In API mode 2 there is no question and the error is returned directly.
list volumes [limit=<limit>] [offset=<offset>] [current] [enabled | disabled]
[catalog=<catalog>] [jobid=<jobid>] [ujobid=<ujobid>]
[pool=<pool>] [all] [count]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
jobid= | integer | Job ID. | |||
ujobid= | string | Unique job name. | |||
pool= | resource | from .pools | Pool name. | ||
all | keyword | Every pool. | |||
count | keyword | Only count. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The volumes of the pool Full:
list volumes pool=Full
All volumes in a single table:
list volumes all
The names of the volumes job 42 wrote to:
list volumes jobid=42
list volume
One volume.
Shows exactly one volume by its name, with status, bytes, retention, slot, media type and last write time. volumeid= and mediaid= select it by its media id instead.
list volume=<volume> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
volume= | resource | from .media | Volume name. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
The catalog record of Full-0001:
list volume=Full-0001
list volumeid
One volume.
list volumeid=<volumeid> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
volumeid= | integer | Media ID. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
list mediaid
One volume.
list mediaid=<mediaid> [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
mediaid= | integer | Media ID. |
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
list schedules
Not a catalog list: answered as unknown keyword (see show schedules).
Schedules are configuration resources and have no table in the catalog, so like Bareos odir answers “Unknown list keyword: schedules”. Use show schedules for the schedule resources and show disabled schedules for the disabled ones.
list schedules [limit=<limit>] [offset=<offset>] [current]
[enabled | disabled] [catalog=<catalog>]
Also accepts the arguments of list: limit, offset, current, enabled, disabled, catalog.
Answered with Unknown list keyword, use show disabled schedules instead:
list schedules disabled
Examples
The last run of every job of a client:
list jobs client=fd last
The ten newest jobs (Onesimus):
list jobs reverse limit=10
Every field of one volume:
llist volume=Full-0001
The volumes of the pool Full:
list volumes pool=Full
Jobs that failed during the last week:
list jobs jobstatus=E,f days=7