TMF Operations and Recovery Guide (G06.26+)
Recovery Methods
HP NonStop TMF Operations and Recovery Guideā522417-003
7-24
Recovering a File Damaged After the AUDIT
Attribute is Turned Off
about the recovery steps, see SQL/MP Installation and Management Guide and
SQL/MX Installation and Management Guide.
Recovering a File Damaged After the AUDIT Attribute is Turned
Off
If a file is damaged after its AUDIT attribute has been turned off, recovery might still be
possible if the online and audit dumps are still available. To attempt the recovery,
follow these steps:
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
now has a correct entry for an online dump for the file.
3. Issue a RECOVER FILES command with the FROMARCHIVE option, and if you
choose, the TIME option. Also include any other options needed to recover the
damaged file.
4. Make a new online dump of the file once the file recovery process has completed.
Recovering a File when Recovery to a Timestamp Does Not
Succeed
In certain unusual circumstances, the RECOVER FILES command with the TIME
option might not succeed. Such a failure typically results in File System Error 80,
reported in EMS Message 0169 or 0356. As an example, the following message might
be logged:
TMF *0169* RECOVER FILES [34] FileRecovery Process #1: File-
system error 80 encountered on audited file
$TSNAZ.TMPRD.UPDATEFA while performing FLABMOD REDO
operation.
Such a message appears if the AUDIT attribute is turned off immediately after an
online dump takes place, and file recovery is then attempted. The message is
Note. TMF can only recover the file up to the point where the AUDIT attribute was turned
off (or to an earlier point, through the TIME option). Thus, if you turn AUDIT off for a file
and later turn it back on, you cannot recover the file to its most recent state if the last
online dump was taken before AUDIT was turned off; new online dumps are always
required for file recovery after any point when the fileās AUDIT attribute is turned on.