TMF Operations and Recovery Guide (G06.24+)

Recovery Methods
HP NonStop TMF Operations and Recovery Guide522417-002
7-21
Responding to Incorrect Updates to the Database
Always keep copies of these command files and reports, as well as the latest
version of any command files used to configure TMF (or the output listing from the
INFO TMF command).
There are also actions that can make recovery procedures more difficult to perform:
Do not stop TMF when you do not know how to fix a problem. The only tasks that
require you to stop TMF are adding or deleting an entire audit trail, resetting audit-
trail file size attributes, and changing the TMF catalog configuration.
Do not delete the TMF configuration unless you want to make major changes to it.
This action deletes audit-trail information, volume and file recovery information,
and online dump information from the TMF catalog. When a DELETE TMF
command completes, all that remains is an empty TMF configuration, without audit
trails and with default values for other TMF components.
Do not delete or move audit-trail files that are in the ZTMFAT subvolume. Audit-
trail files have a file code of 134, which you can view by using the TACL FILEINFO
command.
Responding to Incorrect Updates to the Database
Use the RECOVER FILES command to correct certain problems that have caused
database inconsistencies, such as:
An audited file has been mistakenly purged (see next subsection).
An audited file has been purged of data by the PURGEDATA command (use the
TIME option).
A database needs to be recovered to a specific time (use the TIME option).
An application program has updated the database in an inconsistent manner (use
the TIME option).
Responding to Accidental Loss of an Audited File
You can recover an audited file that has been accidentally deleted as follows:
1. Use the INFO DUMPS, DETAIL command to see if the TMF catalog still has an
entry for the most recent online dump for the file:
If there is no entry for the file, issue an ADD DUMPS command to replace the
entry. Use the output from a previous INFO DUMPS command or consult your
hardcopy dump tracking forms to obtain the necessary information.
If there is an entry for the file but the dump status is released or invalid, issue
an ALTER DUMPS command with the INVALID OFF and RELEASED OFF
options to change the dump status.
2. Issue another INFO DUMPS, DETAIL command to make sure the TMF catalog has
a correct entry for an online dump for the file.