TMF Operations and Recovery Guide (G06.26+)

Recovery Methods
HP NonStop TMF Operations and Recovery Guide522417-003
7-13
RECOVER FILES Command Specification
exceed the size of the SPI message buffer that supports communication between
TMFCOM and TMFSERVE, which is 28 KB. If this limit is exceeded, TMFCOM
displays Error Message 1050.
NOT <file-name>
identifies a file that contains one or more file-name patterns. These patterns, in
turn, designate files that are not to be recovered. If you specify the same file in
NOT <file-name> and in <file-name>, the file is not recovered. For more
information, see the <file-name> parameter description.
FROMARCHIVE
recovers all files requested, regardless of the flags set in the file labels, using the
appropriate online and audit dumps. This option is useful for recovering a volume
following a media failure.
However, if you omit the FROMARCHIVE, TOFIRSTPURGE, TIME,
TOMATPOSITION, SERIAL, and MAP NAMES parameters from the RECOVER
FILES command, the only files recovered are those that have only the undo-
needed flag set in the file label; the file recovery process ignores all other files. To
recover those files with the undo-needed flag set, the file recovery process reads
the audit trail in reverse and applies compensating records (before images) to the
affected files.
If you omit the FROMARCHIVE parameter but include the TIME,
TOFIRSTPURGE, TOMATPOSITION, SERIAL, or MAP NAMES parameter, the
FROMARCHIVE operation becomes the default operation (so that all files
requested are recovered). For example, if you enter the following command,
FROMARCHIVE takes effect by default:
TMF 10> RECOVER *.*.*, SERIAL 92
Note. If you plan to refer to SQL/MX objects in a NOT file-set list, you must use the
Guardian names of the underlying files in all TMFCOM commands. You can run the
MXGNAMES utility to convert one or more objects’ ANSI names to their underlying
Guardian file names. You can then use the Guardian file names in the NOT file-set
list. For convenience, MXGNAMES provides an option that generates names formatted as
TMF file-sets for direct use in TMFCOM commands. For information about using
MXGNAMES, see the SQL/MX Reference Manual.
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>, NOT <$DVR.RAIN.NPX>
You cannot specify both the NOT file-set and the NOT <file-name > formats within
the same RECOVER FILES command.