list

Bareos

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

ArgumentTypeValues / sourceDefaultFlagsDescription
limit=integerMost rows.
offset=integerRows to skip.
currentkeywordOnly configured resources.
enabledkeywordone of: stateOnly enabled.
disabledkeywordone of: stateOnly disabled.
catalog=resourcefrom .catalogsCatalog 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
jobid=integerJob ID.
ujobid=stringUnique 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]
ArgumentTypeValues / sourceDefaultFlagsDescription
client=resourcefrom .clientsrequiredClient name.
fileset=resourcefrom .filesetsFileSet name.
jobstatus=stringJob status letters.
level=enumF, I, DlistLevel.
order=enumasc, desc, ascending, descendingSort order.
days=integerOf the last days.
hours=integerOf the last hours.
reversekeywordNewest 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
client=resourcefrom .clientsClient 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>[,...]]
ArgumentTypeValues / sourceDefaultFlagsDescription
jobid=integerlistJob 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
jobid=integerJob ID.
ujobid=stringUnique job name.
type=stringFile 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
fileset=resourcefrom .filesetsvalue optionalFileSet name.
filesetid=integerFileSet ID.
jobid=integerJob ID.
ujobid=stringUnique 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
client=resourcefrom .clientsClient name.
jobstatus=stringlistJob status letters.
jobtype=stringlistJob type letters.
joblevel=stringlistJob level letters.
level=stringlistJob level letters.
volume=resourcefrom .mediaVolume name.
pool=resourcefrom .poolsPool name.
days=integerOf the last days.
hours=integerOf the last hours.
lastkeywordOnly the last run of each job.
countkeywordOnly count.
reversekeywordNewest first (Onesimus).
job=resourcefrom .jobsJob name.
jobname=stringJob name.
jobid=integerlistJob ID.
ujobid=stringUnique job name.
fileset=resourcefrom .filesetsFileSet 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
job=resourcefrom .jobsJob name.
client=resourcefrom .clientsClient name.
jobstatus=stringlistJob status letters.
jobtype=stringlistJob type letters.
joblevel=stringlistJob level letters.
level=stringlistJob level letters.
volume=resourcefrom .mediaVolume name.
pool=resourcefrom .poolsPool name.
days=integerOf the last days.
hours=integerOf the last hours.
lastkeywordOnly the last run of each job.
countkeywordOnly count.
reversekeywordNewest first (Onesimus).
jobname=stringJob name.
jobid=integerlistJob ID.
ujobid=stringUnique job name.
fileset=resourcefrom .filesetsFileSet 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
jobname=resourcefrom .jobsJob name.
client=resourcefrom .clientsClient name.
jobstatus=stringlistJob status letters.
jobtype=stringlistJob type letters.
joblevel=stringlistJob level letters.
level=stringlistJob level letters.
volume=resourcefrom .mediaVolume name.
pool=resourcefrom .poolsPool name.
days=integerOf the last days.
hours=integerOf the last hours.
lastkeywordOnly the last run of each job.
countkeywordOnly count.
reversekeywordNewest first (Onesimus).
jobname=stringJob name.
jobid=integerlistJob ID.
ujobid=stringUnique job name.
fileset=resourcefrom .filesetsFileSet 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
jobid=stringlistJob 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
ujobid=stringUnique 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]
ArgumentTypeValues / sourceDefaultFlagsDescription
jobid=integerJob ID.
ujobid=stringUnique job name.
countkeywordOnly count.
reversekeywordNewest 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
jobid=integerJob ID.
ujobid=stringUnique 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
jobid=integerJob ID.
job=resourcefrom .jobsJob 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]
ArgumentTypeValues / sourceDefaultFlagsDescription
client=resourcefrom .clientsClient name.
reversekeywordNewest 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]
ArgumentTypeValues / sourceDefaultFlagsDescription
media=resourcefrom .mediavalue optionalVolume name.
jobid=integerJob ID.
ujobid=stringUnique job name.
pool=resourcefrom .poolsPool name.
allkeywordEvery 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
job=resourcefrom .jobsJob name.
days=integerDays 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
pool=resourcefrom .poolsPool 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
poolid=integerPool 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
storage=resourcefrom .storagesStorage 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]
ArgumentTypeValues / sourceDefaultFlagsDescription
jobid=integerJob ID.
ujobid=stringUnique job name.
pool=resourcefrom .poolsPool name.
allkeywordEvery pool.
countkeywordOnly 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
volume=resourcefrom .mediaVolume 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
volumeid=integerMedia 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>]
ArgumentTypeValues / sourceDefaultFlagsDescription
mediaid=integerMedia 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

See also

show, status, query, Command reference