Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cpio(1)

ff(1M)

finc(1M)

labelit(1M)

volcopy(1M)

frec(1M)  —  ADMINISTRATOR COMMANDS

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/rmt/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/rmt/ctape1 14156:a 1232:b \
         3141:/usr/joe/a.c

SEE ALSO

cpio(1), ff(1M), finc(1M), labelit(1M), volcopy(1M)

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. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026