TMF Operations and Recovery Guide (G06.26+)

Recovery Methods
HP NonStop TMF Operations and Recovery Guide522417-003
7-14
RECOVER FILES Command Specification
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.
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. When you
select the TOFIRSTPURGE option, TMF always also uses the FROMARCHIVE
option, even if you do not explicitly select it; as a result, TMF recovers all files
requested from the relevant online and audit dumps, and directs that file recovery
redo all transactions that were committed before the purge operation.
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
specifies the node on which all tape media will be mounted. The default is the
local node.
TIME {month[-]day[-]year, hr:min[:sec] [GMT] }
{day[-]month[-]year, hr:min[:sec] [GMT] }
specifies that the file recovery process should redo all transactions committed
before the specified time. Transactions in progress, but incomplete, before the
time specified are backed out. The files are recovered to the time specified rather
than to the most recent consistent state. All files related to the recovered files
should be recovered to the same point in time. This option can be used to repair
files that have been corrupted by improper application updates, purged files, or
other problems.
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.