To scan the contents of a dump tape, do the following:
1. If it is not already running, start the Tape Coordinator for the tape drive that you want to use with the operation. (See Starting a Tape Coordinator for information on using the butc command to start a Tape Coordinator.)
2. Issue the bak scantape command to display information from a tape:
$ bak scantape [-dbadd] [-tcid tc_number]
The -dbadd option indicates that information extracted from the tape is to be added to the Backup Database; information is not added if the tape is damaged or if the entry has a dump ID number that is already used by an entry in the Backup Database. (See Recovering Specific Backup Data for information about using this option.)
3. Place the tape in the drive, and press <Return> in the corresponding Tape Coordinator's monitoring window. When using this command, you must insert tapes sequentially.
An example of the output from this command, which lists tape label and fileset information, follows. The output is displayed in the monitoring window of the Tape Coordinator:
$ bak scantape
Tape label
- - - -
name = guests.monthly.1
createTime = Fri Nov 22 05:59:31 1990
cell = /.../abc.com
size = 20103324 Kbytes
dump path = /monthly
dump id = 729369701
useCount = 1
- End of tape label -
- fileset -
fileset name: user.guest10.backup
fileset ID 0,,112262
dumpSetName: guests.monthly
dumpID 729369701
level 0
parentID 0
endTime 0
clonedate Fri Nov 22 05:36:29 1991
. . .