FREC(1M-SysV) RISC/os Reference Manual FREC(1M-SysV)
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), 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.
EXAMPLES
To recover a file, i_number 1216 when backed-up, into a file
named junk in your current working directory:
frec /dev/rSA/ctape1 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/rSA/ctape1 14156:a 1232:b
3141:/usr/joe/a.c
SEE ALSO
volcopy(1M).
cpio(1) in the User's Reference Manual.
ERRORS
While paving a path (i.e. creating the intermediate direc-
tories contained in a pathname) frec can only recover inode
fields for those directories contained on the tape and
requested for recovery.
Printed 1/15/91 Page 1