FREC(1M) (Cartridge Tape Utilities) FREC(1M)
NAME
frec - recover files from a backup tape
SYNOPSIS
/etc/frec [-p path] [-f reqfile] raw tape device i_number :
name ...
DESCRIPTION
frec recovers files from the specified raw tape device
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 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.
Each request should occupy one line in the file,
with this format: i_number:newname.
EXAMPLES
To recover a file, i-number 1216 when backed-up, into a file
named junk in your current working directory:
frec /dev/rmt/ctape 1216:junk
To recover files with i_numbers 14156, 1232, and 3141 into
files /usr/src/cmd/a, /usr/src/cmd/b and /usr/joe/a.c:
frec -p /usr/src/cmd /dev/rmt/ctape 14156:a 1232:b
3141:/usr/joe/a.c
Page 1 May 1989
FREC(1M) (Cartridge Tape Utilities) FREC(1M)
SEE ALSO
ff(1M), finc(1M), labelit(1M).
cpio(1) in the User's Reference Manual.
BUGS
While creating the intermediate directories contained in a
pathname, frec can recover i-node fields only for those
directories contained on the tape and requested for
recovery.
Page 2 May 1989