HP OpenView Storage Data Protector B6960-96008 User Manual

Page of 396
Integrating Oracle and Data Protector
Restoring an Oracle Database
Chapter 1
108
3. Run:
Windows: From the 
<Data_Protector_home>\bin
 directory:
perl -I..\lib\perl ob2rman.pl -restore_catalog -session 
<Session_ID> [-apphost <application_hostname>]
HP-UX and Solaris:
/opt/omni/lbin/ob2rman.pl -restore_catalog -session 
<session_ID> [-apphost <application_hostname>]
Other UNIX:
/usr/omni/bin/ob2rman.pl -restore_catalog -session 
<session_ID> [-apphost <application_hostname>]
OpenVMS:
$@OMNI$ROOT:[BIN]OMNI$CLI_SETUP.COM
$ob2rman-restore_catalog -session <session_ID> [-apphost 
<application_hostname>]
Provide the 
Session_ID
 of the backup session. In case of object 
copies, do not use the copy session ID, but the object's backup ID, 
which equals the object's backup session ID.
Restoring Using Another Device
Data Protector supports the restore of Oracle database objects from 
devices other than those on which the database objects were backed up.
Specify these devices in the 
/etc/opt/omni/server/cell/restoredev
 
(UNIX systems) or 
<Data_Protector_home>\Config\server\Cell\restoredev 
(Windows systems) file in the following format:
"
DEV 1
" "
DEV 2
"
where
DEV 1 
is the original device and 
DEV 2
 the new device.
On Windows, this file must be in UNICODE format.
Note that this file should be deleted after it is used.