frec(1m)
_________________________________________________________________
frec
recover files from a backup tape
_________________________________________________________________
SYNTAX
/etc/frec [-p path] [-f reqfile] raw-tape i-number:name ...
DESCRIPTION
Frec recovers files from a specified backup tape.
Arguments are:
raw-tape The pathname of a tape drive on which a backup tape
written by volcopy(1m) is mounted.
i-number The inode number of the file being recovered.
name The pathname of the file to which the data for each
recovery request is written. If a directory is
missing in the pathname, it is created.
Options are:
-p path Specify a default prefixing pathname different from
the current working directory. Frec prefixes this
pathname to any names that are not fully qualified,
i.e., that do not begin with / or ./.
-f reqfile Specify a file that contains recovery requests. The
format is i-number:newname, one per line.
EXAMPLES
If a file with i-number 1216 has been backed up, you can recover
the file into a file named junk in your current working directory
by typing the following:
frec /dev/rmt/0m 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/0m 14156:a 1232:b 3141:/usr/joe/a.c
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)
frec(1m)
SEE ALSO
cpio(1), volcopy(1m).
BUGS
While creating the intermediate directories contained in a
pathname, frec can recover inode fields only for those
directories contained on the tape and requested for recovery.
Frec expects the volume label to match on all tapes.
DG/UX 4.00 Page 2
Licensed material--property of copyright holder(s)