estimate
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
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
job= | resource | from .jobs | Job name. | ||
client= | resource | from .clients | Client name. | ||
fd= | resource | from .clients | Client name (as client=). | ||
fileset= | resource | from .filesets | FileSet name. | ||
level= | enum | Full, Incremental, Differential, VirtualFull, Base, Since, VolumeToCatalog, DiskToCatalog, Catalog, Data, InitCatalog | Backup level. | ||
accurate= | bool | yes, no | Accurate mode. | ||
listing | keyword | List every file. | |||
catalog= | resource | from .catalogs | Catalog 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