.bvfs_update

Bareos

Update BVFS cache.

Synopsis

.bvfs_update [jobid=<jobid>[,...]] [catalog=<catalog>]

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

Description

Fills the BVFS cache in the catalog (the tables PathHierarchy and PathVisibility and the flag Job.HasCache). Without this cache .bvfs_lsdirs and .bvfs_lsfiles find no directories. With jobid= only the listed jobs are prepared; without it all jobs without cache are, which can take long on large catalogs. Jobs that already have a cache are skipped. Backup data is not changed.

On success nothing is printed. BVFS is kept unchanged for compatibility with Bareos tools such as bareos-webui; the OVFS commands need no cache.

Arguments

ArgumentTypeValues / sourceDefaultFlagsDescription
jobid=stringlistJob IDs.
catalog=resourcefrom .catalogsCatalog name.

Examples

Build the cache for one job chain:

.bvfs_update jobid=600,615,616

Build the cache for all jobs without one:

.bvfs_update

See also

Command reference