FREC(1M) — Silicon Graphics
NAME
frec − recover files from a backup tape
SYNOPSIS
/etc/frec [−p path] [−f reqfile] raw-tape i-number:name ...
DESCRIPTION
Frec recovers files from the specified raw-tape backup tape written by volcopy(1M) or finc(1M), given their i-numbers. The data for each recovery request will be written into the file given by name .
The −p option allows you to specify a default prefixing path different from your current working directory. This will be prefixed to any names that are not fully qualified, i.e. that do not begin with / or ./. If any directories are missing in the paths of recovery names they will be created.
−p path Specifies a prefixing path to be used to fully qualify any names that do not start with / or ./.
−f reqfile Specifies a file which contains recovery requests. The format is i-number:newname, one per line.
EXAMPLE
frec /dev/rmt0 1216:junk
recovers a file, i-number 1216 when backed-up, into a file named junk in your current working directory.
frec −p /usr/src/cmd /dev/rmt0 14156:a 1232:b 3141:/usr/joe/a.c
recovers files with i-numbers 14156, 1232, and 3141 into files /usr/src/cmd/a, /usr/src/cmd/b and /usr/joe/a.c.
SEE ALSO
cpio(1), ff(1M), finc(1M), volcopy(1M).
BUGS
While paving a path (i.e. creating the intermediate directories contained in a pathname) frec can only recover inode fields for those directories contained on the tape and requested for recovery.
Version 2.3 — July 04, 1985