TMF Operations and Recovery Guide (G06.24+)

Recovery Methods
HP NonStop TMF Operations and Recovery Guide522417-002
7-13
RECOVER FILES Command Specification
TOFIRSTPURGE
specifies that the file recovery process should search the audit trail for the first
purge record for the specified file-set list and recover those files as they existed
before the purge. All files specified in the RECOVER FILES command are
restored to the point at which the first of them was purged: when the file recovery
process finds the first purge record, it stops. This option is useful if a file has been
accidentally deleted but the time of the deletion is unknown.
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.
If you use the TIME option, the FROMARCHIVE option is automatically selected.
TOMATPOSITION (atseqno, rba)
applies the FROMARCHIVE option (whether it is specified or not), recovering all
files requested from the relevant online and audit dumps, and directs that the file
recovery process redo all transactions that were committed up to a specified
location in the master audit trail (MAT). Transactions that began before the
specified location but that were not yet committed are backed out. The database is
recovered to the audit position specified rather than to a time specified or to the
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.