TMF Operations and Recovery Guide (G06.24+)

Recovery Methods
HP NonStop TMF Operations and Recovery Guide522417-002
7-18
Recovering Only Files from a Particular Dump
If an entire disk volume is destroyed, you can rely on file recovery to determine
which files to recover (as long as there are online dumps of the files). For
example, to recover all audited files on $DATA, issue the command:
TMF 32> RECOVER FILES $DATA.*.*, FROMARCHIVE
Specify any additional RECOVER FILES options, as described previously in this
section, in the discussion of the RECOVER FILES Command.
8. If you chose to shut down one mirror of a data volume in Step 4, issue an SCF
START DISK command.
You can revive a downed mirror at this point or wait to revive the mirror until after
transaction processing on the volume has started again. Waiting to revive the
mirror decreases the time needed for file recovery, but increases the risk of a disk
media failure until the mirror is revived.
9. If you used the TIME, TOFIRSTPURGE, or TOMATPOSITION options, make new
online dumps of all recovered files before new transactions are allowed to begin.
New online dumps provide a fresh starting point for a subsequent file recovery.
On systems with a very large number of data volumes or a large number of files
accessed by a single transaction, file recovery may not be able to perform its recovery
operation with its current memory allocation. If this happens, use the ALTER
PROCESS command to increase the EXTENDEDSEGSIZE attribute of the file
recovery process as directed in the TMF Reference Manual. For specific
recommendations, refer to the TMF Planning and Configuration Guide.
Recovering Only Files from a Particular Dump
TMF provides an easy way to recover all files associated with a particular online dump,
or a subset of those files. For this operation, enter the RECOVER FILES command
with the SERIAL option, specifying the serial number of the dump. As an example, the
following command recovers all files for the dump identified by serial number 110:
TMF 7> RECOVER FILES *.*.*, SERIAL 110
Recovering Files to a New Location
Sometimes, you may want to recover one or more files to different locations than the
ones at which they existed before the recovery. For example, you may want the files
stored on different volumes or subvolumes, or identified by different file IDs.
In addition to performing this kind of redirected recovery in a production environment,
you can also use this approach to practice or rehearse file recovery without actually
overwriting existing data. To recover the files under the new location, use the
RECOVER FILES command with the MAP NAMES option.