Restoring using another device – HP A.06.11 User Manual

Page 131

Advertising
background image

2.

Run:

run {
allocate channel 'dev_0' type 'sbt_tape'
parms 'SBT_LIBRARY=C:/PROGRA~1/OmniBack/bin/orasbt.dll,
ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=CAN,OB2BARLIST=test)';
allocate channel 'dev_1' type 'sbt_tape'
parms 'SBT_LIBRARY=C:/PROGRA~1/OmniBack/bin/orasbt.dll,
ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=CAN,OB2BARLIST=test)';
allocate channel 'dev_2' type 'sbt_tape'
parms 'SBT_LIBRARY=C:/PROGRA~1/OmniBack/bin/orasbt.dll,
ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=CAN,OB2BARLIST=test)';
send device type 'sbt_tape' 'NO_AUTO_DEVICE_SELECTION=1';
send device type 'sbt_tape' 'CHDEV=dev1>dev2';
restore database;
}

NOTE:

The line device type 'sbt_tape' 'NO_AUTO_DEVICE_SELECTION=1';
disables the automatic device selection.

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 systems, this file must be in the Unicode format.

Note that this file should be deleted after it is used.

Example

Suppose you have Oracle objects backed up on a device called DAT1. To restore
them from a device named DAT2, specify the following in the restoredev file:

Integration guide for Oracle and SAP

131

Advertising