Manual pages › System administration commands (1M)
frec(1M)
recover files from a backup tape
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
NAME
frec - recover files from a backup tape
SYNOPSIS
/usr/sbin/frec [-p path] [-f reqfile] raw_tape i_number:name . . .
DESCRIPTION
frec recovers files from the specified raw_tape backup tape written by volcopy or finc, 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
ff(1M), finc(1M), labelit(1M), volcopy(1M). cpio(1) in the User's Reference Manual.
NOTES
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.