.ovfs_versions

Onesimus extension

All versions of one file of a client (OVFS).

Synopsis

.ovfs_versions client=<client> path=<path> [name=<name>] [copies] [json]

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

Description

Onesimus extension: lists all backed up versions of a file or directory of a client, newest first. Only versions stored on a volume from backup and archive jobs count; copies adds copy jobs. Versions from jobs the console may not see are left out. path= is the directory, name= the file; without name= the versions of the directory itself are listed.

Each line has ten tab separated columns: JobId, level, job type, start time, size, modification time, FileIndex, volumes, InChanger and MD5. json prints the result as one JSON line. Unlike .bvfs_versions no PathIds are needed.

Arguments

ArgumentTypeValues / sourceDefaultFlagsDescription
client=resourcefrom .clientsrequiredClient name.
path=stringrequiredDirectory.
name=stringFile name (’’ = the directory).
copieskeywordInclude copy jobs.
jsonkeywordPrint the JSON object as text.

Examples

All versions of /etc/hosts:

.ovfs_versions client=bareos-fd path=/etc/ name=hosts

Including copy jobs, as JSON:

.ovfs_versions client=bareos-fd path=/etc/ name=fstab copies json

See also

Command reference