TMF Operations and Recovery Guide (G06.24+)

Recovery Methods
HP NonStop TMF Operations and Recovery Guide522417-002
7-17
Performing File Recovery
DISK command, the ENABLE DATAVOLS command, or both to start data volumes
for TMF processing. The SCF START DISK command is described in the SCF
Reference Manual for G-Series RVUs.
4. If your data volumes are mirrored, you might choose to shut down one mirror
before performing file recovery. (Issue an SCF STOP DISK command for one half
of a mirrored pair of disk volumes. The SCF STOP DISK command is described in
the SCF Reference Manual for G-Series RVUs.)
You can revert to the database on the downed mirror if file recovery is not
successful.
If file recovery is successful, additional time is needed to revive the volume to the
mirrored state.
An alternative way to preserve a fall-back version of your database, especially if
your data volumes are nonmirrored, is to backup onto tape the files to be
recovered.
5. If your audit dumps are on tape media, make sure that your restore-audit volume is
available for the files that will be restored by file recovery.
The file recovery process almost always needs to restore old audit-trail files to disk
from the audit dumps stored on tape. Make sure there is enough disk space on the
restore-audit volume for at least one audit-trail file. If you can make space for
more than one old audit-trail file to be restored, file recovery runs more efficiently.
The next audit-trail file can be loaded from tape while the file recovery process is
simultaneously redoing the transactions recorded in the first one.
Whenever an attempt to restore an audit-trail file fails due to lack of space, the
TMP generates an event message that reports the problem. After a short delay,
the file recovery process retries the audit restore request. If the space problem
persists, you must either create more restore-audit space or abort the recovery
operation.
6. If your audit dumps and online dumps are on disk media, make sure that those disk
volumes are available.
7. Issue a RECOVER FILES command.
Either specify individual files you want to recover or use the wild-card character (*)
to specify all volumes, subvolumes, or files in a system:
TMF 30> RECOVER FILES ($DATA1.*.*, $DATA2.SALES.INVOICES, &
>>>$DATA3.ACCT.*)
You can use the NOT option to exclude certain files from file recovery:
TMF 31> RECOVER FILES $DATA1.*.*, NOT $DATA1.ACCT.*