TMF Reference Manual (G06.24+)

TMFCOM Commands
HP NonStop TMF Reference Manual522418-002
3-203
RECOVER FILES
NOT file-set
identifies one or more files that are not to be recovered, whether or not they are
specified in file-set and regardless of their redo-needed or undo-needed
status. The NOT file-set list allows the same pattern-matching (wild-card)
characters described earlier in the discussion of the file-set option for this
command and the file-set option for the DUMP FILES command on page
3-125. 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
relevant online dumps and audit trail dumps.
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 file-set list or 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 file-
set list or 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.