estimate

Bareos

Performs FileSet estimate, listing gives full listing.

Synopsis

estimate [job=<job>] [client=<client>] [fd=<fd>] [fileset=<fileset>]
         [level=<level>] [accurate=<yes|no>] [listing] [catalog=<catalog>]

Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.

Description

Asks the File Daemon how many files and bytes a backup job would save at the chosen level, without starting a job. The Director connects to the client, sends fileset and level and prints the answer; with listing every file that would be saved is printed as well. Without job= the Director offers the list of jobs.

level=, client= (or fd=), fileset= and accurate= override the values of the job. Only native clients are supported, not NDMP. Nothing is changed; for Incremental and Differential the catalog is only read to find the last matching job.

Arguments

ArgumentTypeValues / sourceDefaultFlagsDescription
job=resourcefrom .jobsJob name.
client=resourcefrom .clientsClient name.
fd=resourcefrom .clientsClient name (as client=).
fileset=resourcefrom .filesetsFileSet name.
level=enumFull, Incremental, Differential, VirtualFull, Base, Since, VolumeToCatalog, DiskToCatalog, Catalog, Data, InitCatalogBackup level.
accurate=boolyes, noAccurate mode.
listingkeywordList every file.
catalog=resourcefrom .catalogsCatalog name.

Examples

Size of a full backup of BackupClient1:

estimate job=BackupClient1 level=Full

Every file the next incremental would save:

estimate job=BackupClient1 level=Incremental listing

See also

Command reference