TMF Operations and Recovery Guide (G06.24+)
Recovery Methods
HP NonStop TMF Operations and Recovery Guide—522417-002
7-19
Retaining Audit Files Restored from Tape on
Restore-Audit Volumes
The following RECOVER FILES command uses the MAP NAMES option to recover
the file T32, originally stored on $TMF.TMF01, to $DATA.TMF01.T32:
TMF 92> RECOVER FILES $TMF.TMF01.T32, &
>>>MAP NAMES ($TMF.*.* TO $DATA1.*.*)
.
.
.
By using wild-card characters in the MAP NAMES option, you can gain great efficiency
and flexibility in specifying source files and target files. For more information about
wild-card characters and examples of their use, see TMF Reference Manual.
Retaining Audit Files Restored from Tape on
Restore-Audit Volumes
During volume recovery or file recovery, if TMF requires an audit-trail file that is no
longer available on the system but is archived on tape, TMF copies that file from an
audit dump on the tape to a restore-audit volume on disk. When the recovery process
is finished, TMF purges this file and all other unneeded files from the restore-audit
volume to free disk space for other files. When TMF is conducting multiple recovery
operations, recovery processes often must wait for TMF to copy the same audit-trail
files from tape repeatedly to support each recovery operation.
TMF allows you to override this standard restore-and-purge mechanism to keep the
restored audit-trail files on the restore-audit volume indefinitely. This option can
improve performance by:
•
Eliminating or minimizing the time a recovery process must wait for TMF to restore
an audit-trail file.
•
Minimizing disk contention for audit-trail files being read from, or restored to, the
same disk.
To use this option, issue the ALTER AUDITTRAILS command with the
MAXRETAINEDATFILES parameter specifying the number of audit-trail files you wish
to retain. For example, the following command retains up to the last 100 audit-trail files
on the restore-audit volumes, even after all recovery processes are complete:
TMF 65> ALTER AUDITTRAIL MAT, MAXRETAINEDATFILES 100
Use the MAXRETAINEDATFILES option when you expect to conduct many recovery
operations at or near the same time, keeping as many potentially required files on disk
as possible. When the recovery load diminishes, return to the standard restore-and-
purge mechanism for tape files by entering an ALTER AUDITTRAIL command with the
RESET MAXRETAINEDATFILES parameter, freeing disk space for other purposes.
For example:
TMF 70> ALTER AUDITTRAIL MAT, RESET MAXRETAINEDATFILES