.bvfs_restore
Mark BVFS files/directories for restore. Stored in handle.
Synopsis
.bvfs_restore path=<path> jobid=<jobid>[,...] [fileid=<fileid>[,...]]
[dirid=<dirid>[,...]] [hardlink=<hardlink>[,...]] [useemptypath]
Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.
Description
Creates a table in the catalog holding a restore selection: single files (fileid=), whole directories with their content (dirid=, PathIds from .bvfs_lsdirs) and hardlinks (hardlink=, pairs of JobId and FileIndex). At least one of them is required. path= names the table (b2 followed by a number); an existing table of that name is replaced.
Pass the table to restore with file=?<table>; restore then skips the menu and the file tree. Drop the table afterwards with .bvfs_cleanup. The command only writes to the catalog and starts no job.
Arguments
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
path= | string | required | Handle (table name). | ||
jobid= | string | required, list | Job IDs. | ||
fileid= | string | list | File IDs. | ||
dirid= | string | list | Directory IDs. | ||
hardlink= | string | list | JobId,FileIndex pairs. | ||
useemptypath | keyword | Use an empty path. |
Examples
Select two files for a restore:
.bvfs_restore path=b2101 jobid=600,615,616 fileid=4711,4712
Select a whole directory:
.bvfs_restore path=b2102 jobid=600,615,616 dirid=7