TMF Operations and Recovery Guide (G06.26+)
Managing Enscribe Files
HP NonStop TMF Operations and Recovery Guide—522417-003
B-6
The DUP Command
The DUP Command
You can use the FUP DUP command to duplicate an audited file, but the destination
file is created as a nonaudited file. As with the FUP COPY command, you can issue a
FUP ALTER command once the file has been duplicated to change the audit attribute
of the destination file to audited.
The LOAD Command
You can use the FUP LOAD command to load data from an audited file, but the
destination file must be a nonaudited file: attempting to load to an audited file results in
a file system error.
If you must load data to an audited file, first issue a FUP ALTER command to change
the destination file’s audit attribute to nonaudited. After you have loaded the file, issue
another FUP ALTER command to change its audit attribute back to audited.
If you want to be able to use the TMF file recovery feature, you should make an online
dump of the destination file, as any previous online dumps of the file were invalidated
when the destination file was altered to nonaudited.
The LOADALTFILE Command
You can use the FUP LOADALTFILE command to generate the alternate-key records
for a designated alternate-key file from an audited primary file, but the designated
alternate-key file must be a nonaudited file. If you must load data to an audited
alternate-key file, first issue a FUP ALTER command to change the destination file’s
audit attribute to nonaudited. After you have loaded the file, issue another FUP ALTER
command to change its audit attribute back to audited.
If you want to be able to use the TMF file recovery feature, you should make an online
dump of the destination file, as any previous online dumps of the file were invalidated
when the destination file was altered to nonaudited.
During the time that the alternate-key file is nonaudited, attempts to access the primary
file result in a file system error.
Caution. Do not use FUP DUP commands or the BACKUP/RESTORE utilities on audit-trail
files except when instructed to do so by your service provider.
Caution. Any damage to the destination file when it is in the nonaudited state could be
permanent. Before changing the file to nonaudited, you should first ensure that all openers
have closed the file, and then make a backup copy of it.