TMF Reference Manual (G06.24+)

TMFCOM Commands
HP NonStop TMF Reference Manual522418-002
3-204
RECOVER FILES
TOFIRSTPURGE
terminates file recovery when the first audit record for purging any file in the
specified file sets is encountered; the purge record is not reapplied.
SERIAL serial-number
recovers only files from the online dump identified by serial-number. If you
enter a number less than 64, TMFCOM returns an error message. When you
select the SERIAL option, TMF always also uses the FROMARCHIVE option,
even if you do not explicitly select it.
SYSTEM node
identifies the node on which all tape media used for restoring online dumps are
mounted. The syntax rules for specifying a node name appear under Disk File
Names, earlier in this section. The default is the local node. If you specify a
remote node, Guardian labeled-tape processing must be enabled on that node and
must be running on the NonStop Kernel. TMF, however, need not be configured or
running on the remote node.
Tape media used for restoring audit dumps are requested on the node specified in
the audit dump configuration.
TIME {month[-]day[-]year, hr:min[:sec] [GMT] }
{day[-]month[-]year, hr: min[:sec] [GMT] }
applies the FROMARCHIVE option (whether it is specified or not), recovering all
files requested from the relevant online and audit dumps, and directs that file
recovery redo all transactions that were committed before the specified time.
Transactions that began before the specified time but that were not yet committed
are backed out. The database is recovered to the time specified, rather than to the
most recent consistent state. Be certain to enter the date and time for this option
completely and accurately.
If you do not specify the TIME option, the time at which you issue the RECOVER
FILES command is used for the file recovery operation.
month
is a three-character abbreviation for the name of the month:
{JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC}
Caution. When you issue a RECOVER FILES command to initiate file recovery to a
timestamp, and the time listed in the TMF catalog is not the time that the online dump actually
took place, you risk destruction of your database because you will probably not recover all the
data you need.
When you use the TIME option in a RECOVER FILES command, the value you enter must be
greater than the actual dump time by at least one second to ensure a proper recovery;
otherwise, TMF recovers no files.