TMF Reference Manual (G06.26+)

TMFCOM Commands
HP NonStop TMF Reference Manual522418-003
3-36
ADD DUMPS
You must specify either the TAPEMEDIA option or the DISKMEDIA option, but you
cannot specify both.
You do not have to use the ADD TAPEMEDIA command to insert entries for the tape
volumes into the TMF catalog; they are inserted automatically by the ADD DUMPS
command.
When adding entries for a multi-copy dump to the TMF catalog, be sure to specify part
numbers for all copies of the dump in the TAPEMEDIA option of the same ADD
DUMPS command. Otherwise, the command might either abend or add the dump
information incorrectly.
When adding an online dump entry for a file that begins on a tape reel other than the
first reel identified by the dump serial number, also add an online dump entry for at
least one file on each preceding reel associated with the same dump serial number.
This ensures that the correct dump reel number is entered in the TMF catalog,
permitting subsequent RECOVER FILES commands that use the added dump to
execute correctly. Without this precaution, the RECOVER FILES commands can fail,
resulting in an EMS error of the following format:
*ERROR* ArchTape-8125: Wrong tape mounted (Found tape #14, expected tape #1).
TMF Catalog has incorrect information.
For complete information about audit and online dumps and how they are used, and
details about the TMF catalog and its contents, see the TMF Operations and Recovery
Guide.
Examples
The first example shows how to add an audit dump entry; the other two examples
illustrate adding online dump entries.
The following ADD DUMPS command restores to the TMF catalog an entry for an audit
dump of the audit-trail file $ZTMFAT.ZTMFAT.AA000024, which was dumped to the
disk file $DUMP.ZT001055.AA000024 at 17:20:55 on March 4, 2002:
TMF 32> ADD DUMPS $ZTMFAT.ZTMFAT.AA000024, SERIAL 1055,&
>>>TYPE AUDITDUMP,DISKMEDIA &
>>>$DUMP.ZT001055.AA000024, TIME MAR 4 2002, 17:20:55
This ADD DUMPS command restores an entry for an audit dump of the audit-trail file
$ZTMFAT.ZTMFAT.AA000341, which was dumped to the tape volume TF0258 at
01:42:35 on February 26, 2002:
TMF 33> ADD DUMPS $ZTMFAT.ZTMFAT.AA000341, SERIAL 4253, &
>>>TYPE AUDITDUMP, TIME 26-Feb-2002 01:42:35 GMT, &
>>>TAPEMEDIA (TF0258:1:1)