TMF Operations and Recovery Guide (G06.26+)

Recovery Methods
HP NonStop TMF Operations and Recovery Guide522417-003
7-12
RECOVER FILES Command Specification
<file-name>
identifies a file that contains one or more file-name patterns. These patterns, in
turn, designate files to be recovered. The <file-name > file can be an EDIT
format file (file code 101) or a C data file (file code 180).
Typically, the <file-name > file is generated by an automated process such as
the MXGNAMES utility that converts ANSI names to Guardian file names for
SQL/MX, or a TACL macro. The <file-name> option lets the process or user
specify many more files within a single RECOVER FILES command than is
possible when using the file-set option.
Within the <file-name> file, each line contains a file-name pattern that identifies
a volume, subvolume, and file, using the syntax and rules described earlier under
the file-set description. The pattern must begin in Column 1. Blank lines are
permitted, and so are comments. If a line contains a comment only, the comment
must begin with a hyphen in Column 1. If a line contains a file-name pattern
followed by a comment, however, the beginning hyphen is not required; all
characters that follow a file-name pattern are treated as a comment. The following
example illustrates the content of a <file-name:> file:
$DATA01.SUBVOL1.FILE1
$*.ZSD*.*00 This is a comment: All SQL/MX data fork files.
- This is another comment. The next line is blank.
$DATA*.*0.FILE2
FILE3
.
.
.
In the <file-name> file, patterns that do not indicate fully-qualified file names are
expanded using the default node, volume, and subvolume names established in
TMFCOM. (For commands entered directly through SPI rather than TMFCOM,
however, you must specify the defaults to be used.)
NOT fileset
identifies one or more files that are not to be recovered, whether they are specified
in file-set and regardless of their undo-needed or redo-needed status. The
NOT file-set list allows the same pattern-matching (wild-card) characters
described in the file-set discussion. The NOT file-set information cannot
Note. You must include the angle-brackets (“<“ and “>”) exactly as shown in the <file-
name> syntax, embedding the file name within these. For example:
RECOVER FILES <$BOULDER.SNOW.NPFILE>
Wild-card characters (such as * and ?) are not allowed in the file name bounded by the
angle-brackets.
You cannot specify both the file-set and the <file-name> formats within the same
RECOVER FILES command.