frec(1M) DG/UX R4.11MU05 frec(1M)
NAME
frec - recover files from a backup tape
SYNOPSIS
/etc/frec [-p path] [-f reqfile] raw-tape i-number:name ...
where:
path A default prefixing pathname different from the current
working directory
reqfile The name of a file that contains recovery requests of the
format i-number:newname, one per line
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
DESCRIPTION
Frec recovers files from a specified backup tape. If a directory is
missing in name, it is created.
Options are:
-p Prefix the specified pathname to any names that are not fully
qualified, i.e., that do not begin with / or ./.
-f Read recovery requests from the specified file.
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
SEE ALSO
cpio(1), volcopy(1M).
NOTES
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.
Licensed material--property of copyright holder(s)