To restore 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. In addition to the usual lists, you must also be included in the admin.bos list on each machine on which the Backup Database is installed.
2. Verify that you have the w (write) and x (execute) permissions on the dcelocal/var/dfs/backup directory on each machine on which the Backup Database is installed.
3. Stop all bakserver processes with the bos stop command. You must stop all bakserver processes on all machines on which the Backup Database is installed.
4. Remove the old Backup Database by deleting the dcelocal/var/dfs/backup/bkdb.* files from each machine on which the database is installed.
5. Start all bakserver processes with the bos start command. You must start all bakserver processes that you stopped in the earlier step; you must restart the processes on the same machines on which they were previously running. When you start a bakserver process, an empty Backup Database is created if one does not already exist.
6. Enter the bak addhost command to create an entry in the Backup Database for the Tape Coordinator from which you will restore the Backup Database:
$ bak addhost -tapehost machine [-tcid tc_number]
The -tapehost machine option is the DCE pathname of the machine (for example, /.../abc.com/hosts/bak1) for which the Tape Coordinator is to be added.
7. 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.)
8. Issue the bak restoredb command to restore the Backup Database to tape:
$ bak restoredb [-tcid tc_number]
9. Place the Backup Database tape in the drive, and press <Return> in the corresponding Tape Coordinator's monitoring window.