.ovfs_latest
Onesimus extension
Job chain of a client’s latest state (restore option 5).
Synopsis
.ovfs_latest client=<client> [fileset=<fileset>] [json]
Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.
Description
Onesimus extension: determines the job chain for the newest state of a client, as restore menu item 5 selects it: the last Full backup of the fileset, the last Differential after it and all Incrementals after Full or Differential. Only backups with status T or W count, Differentials and Incrementals only if they are on an enabled volume. fileset= is needed when the client has backups of several filesets.
Pass the comma separated list as jobid= to .ovfs_tree and .ovfs_ls, so the tree stays the same while browsing even if a new backup finishes. json prints the result as one JSON line.
Arguments
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
client= | resource | from .clients | required | Client name. | |
fileset= | resource | from .filesets | FileSet name. | ||
json | keyword | Print the JSON object as text. |
Examples
The newest job chain of a client:
.ovfs_latest client=bareos-fd
The chain of one fileset as JSON:
.ovfs_latest client=bareos-fd fileset=LinuxAll json