Troubleshooting guide

Chapter 5, Disaster Recovery 213
Recovering the NetBackup Databases
Note If the /dev file for the device you will use for listing the database information is
lost in the failure, you must create the special device file path for that device before
using bprecover. See the Media Manager Device Configuration Guide for information
on creating this path.
In this case, insert the media in an appropriate drive (assume the raw-device path is
/dev/rmt/hc2d4). Then, execute the following command on the NetBackup server that
has the drive.
bprecover -l -tpath /dev/rmt/hc2d4
Database Backup Information from /dev/rmt/hc2d4
Created: 03/30/93 11:31:34
Server: bphost
Block size: 32768
Path
----
IMAGE1 /usr/openv/netbackup/db
IMAGE2 /usr/openv/volmgr/database
Example 2: List by Using a Media Manager Controlled Drive
Assume the Media Manager part of the databases is intact and the backup was done to an
8 mm tape with media ID JBL29. Insert the tape into an appropriate drive. Then, execute
the following bprecover command on the NetBackup server that has the drive (the
Media Manager device daemon, ltid, must be active).
bprecover -l -ev JBL29 -d 8mm
Database Backup Information from JBL29
Created: 04/02/93 05:50:51
Server: bphost
Block size: 32768
Path
----
IMAGE1 /usr/openv/netbackup/db
IMAGE2 /usr/openv/volmgr/database
Example 3: List Disk Path
Assume the database backup was done to disk path /disk1/bpbackup and this disk has
not failed. Assuming NetBackup is installed and operating, execute the following
bprecover command to list the backup information.
bprecover -l -dpath /disk1/bpbackup
Database Backup Information from /disk1/bpbackup
Created: 03/30/93 11:31:34
Server: bphost
Path