Use the bak scantape command to extract dump set information from a backup tape and add it to the Backup Database. When you issue this command, you must place the backup tapes into the drive in sequential order. The system verifies that each tape is undamaged by checking the end-of-file markers that the Backup System inserts at the beginning and end of each fileset. If the markers are missing, the tape is assumed to be damaged and cannot be used for recovering data. To add information to the database, the entire tape must be undamaged, and the Backup Database must not contain an entry with the same dump ID as an entry being added.
To add recovered data to the Backup Database, do the following:
1. Verify that you are included in the appropriate administrative lists. If necessary, issue the bos lsadmin command to check.
2. 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.)
3. Insert the first backup tape from the dump sequence into the tape drive, and issue the bak scantape command without the -dbadd option. Information from the tape is displayed in the Tape Coordinator's monitoring window.
$ bak scantape [-tcid tc_number]
4. If the output indicates that the tape is undamaged, issue the bak scantape command again, including the -dbadd option. This adds the information from the tape to the Backup Database.
$ 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 added only if the tape is undamaged and the Backup Database does not have an entry with the same dump ID as an entry being added.