TMF Reference Manual (G06.24+)

TMFCOM Commands
HP NonStop TMF Reference Manual522418-002
3-60
ALTER AUDITTRAIL
The next command sets the AUDITDUMP attribute to OFF for the master audit trail:
TMF 23> ALTER AUDITTRAIL MAT, AUDITDUMP OFF
WARNING: After AUDITDUMP is turned OFF, potentially neither
volume nor file recovery can recover your files
because audittrail files could be purged.
Please confirm the option, Auditdump OFF? (Y/N) y
.
.
.
Assume that a restore-audit volume was originally configured on the disk drive
$TMF01, but now needs to be moved to another disk drive, $TMF02. The following
example shows how this can be done with a single ALTER AUDITTRAIL command.
This command both creates a restore-audit volume on $TMF02 and deletes the one
on $TMF01:
TMF 24> ALTER AUDITTRAIL MAT, ADDRESTOREVOL $TMF02, &
>>>DELETERESTOREVOL $TMF01
The following ALTER AUDITTRAIL command requests TMF to retain up to the last 50
highest-numbered MAT audit-trail files in the restore-audit volumes, even after all
recovery processes are finished:
TMF 25> ALTER AUDITTRAIL MAT, MAXRETAINEDATFILES 50
The next ALTER AUDITTRAIL command purges from the restore-audit volumes all
MAT audit-trail files that are not being used in a recovery operation:
TMF 26> ALTER AUDITTRAIL MAT, RESET MAXRETAINEDATFILES