Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ff(8)

finc(8)

labelit(8)

cpio(1)



  frec(8)                             CLIX                             frec(8)



  NAME

    frec - Recovers files from a backup tape

  SYNOPSIS

    /etc/frec [-p path] [-f reqfile] raw_tape i_number:name ...

  FLAGS

    -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.

  DESCRIPTION

    The frec command recovers files from the specified raw_tape backup tape
    written by the volcopy or finc commands, given their i_numbers.  The data
    for each recovery request is written into the file given by name.

    The -p flag 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, that is, that do not begin with / or ./.  If any
    directories are missing in the paths of recovery names, they will be
    created.

    The -p path flag specifies a prefixing path used to fully qualify any
    names that do not start with / or ./.

    The -f reqfile flag specifies a file which contains recovery requests.
    The format is i_number:newname, one per line.

  EXAMPLES

    1.  To recover a file the i-number, 1216, is backed-up, into a file named
        junk in the current working directory:

        frec /dev/rSA/ctape1 1216:junk


    2.  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


  FILES

    /dev/rdsk/*



  2/94 - Intergraph Corporation                                              1






  frec(8)                             CLIX                             frec(8)



  NOTES

    While paving a path (that is, creating the intermediate directories
    contained in a pathname) the frec command can only recover inode fields
    for those directories contained on the tape and requested for recovery.

    The frec command does not work with Fast File Systems (FFS).

  DIAGNOSTICS

    -p path name isn't a directory
           The pathname given is not a directory or does not exist.

    file filename, inode number is not on the tape
           An inode:file named in the command line was not saved onto the
           tape.

  EXIT VALUES

    0   Indicates a successful recovery.

    1   An error occurred and a full recovery was not made.

    2   Indicates that a needed directory could not be created.

  RELATED INFORMATION

    Commands:  ff(8), finc(8), labelit(8), cpio(1)


























  2                                              Intergraph Corporation - 2/94




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