TMF Operations and Recovery Guide (G06.24+)
Recovery Methods
HP NonStop TMF Operations and Recovery Guide—522417-002
7-12
RECOVER FILES Command Specification
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
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.
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, 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,
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
NOWAIT
requests that when TMFCOM accepts the RECOVER FILES command, it
suppresses display of the EMS events for the file-recovery operation and
immediately issues a prompt for another command.
You can check the status of the recovery operation later by issuing a STATUS
OPERATIONS command.
If you do not specify NOWAIT, TMFCOM lists the EMS events on your terminal or
writes them to the OUT file (if you specify that) as the recovery progresses.
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.