EasyManuals Logo
Home>HP>Software>Data Protector A.06.11

HP Data Protector A.06.11 Integration Guide

HP Data Protector A.06.11
500 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #130 background imageLoading...
Page #130 background image
2. Start the tablespace restore and recovery.
• If the database is in the open state, the script to restore and recover the
tablespace should have the following format:
For a non-ZDB or ZDB backup set session:
run{
allocate channel dev1 type 'sbt_tape' parms
'SBT_LIBRARY=/opt/omni/lib/libob2oracle8.so,
ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=DB_NAME)';
sql 'alter tablespace TEMP offline immediate';
restore tablespace TEMP;
recover tablespace TEMP;
sql 'alter tablespace TEMP online';
release channel dev1;
}
For a ZDB proxy-copy session, allocate one channel for restoring proxy-copy
sessions and one channel for database recovery. Release the proxy-copy
channel before the recovery:
run{
allocate channel 'dev1' type 'sbt_tape' parms
'SBT_LIBRARY=/opt/omni/lib/libob2oracle8.so,
ENV=(OB2BARTYPE=Oracle8,OB2PROXYCOPY=1, OB2APPNAME=DB_NAME)';
allocate channel 'dev2' type 'sbt_tape' parms
'SBT_LIBRARY=/opt/omni/lib/libob2oracle8.so,
ENV=(OB2BARTYPE=Oracle8, OB2APPNAME=DB_NAME)';
sql 'alter tablespace TEMP offline immediate';
restore tablespace TEMP;
release channel 'dev1';
recover tablespace TEMP;
sql 'alter tablespace TEMP online';
release channel 'dev2';
}
• If the database is in the mount state, the script to restore and recover the
tablespace should have the following format:
For a non-ZDB or ZDB backup set session:
run{
allocate channel dev1 type 'sbt_tape' parms
'SBT_LIBRARY=/opt/omni/lib/libob2oracle8.so,
ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=DB_NAME)';
restore tablespace 'TEMP';
recover tablespace 'TEMP';
release channel dev1;
}
Data Protector Oracle ZDB integration130

Table of Contents

Other manuals for HP Data Protector A.06.11

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP Data Protector A.06.11 and is the answer not in the manual?

HP Data Protector A.06.11 Specifications

General IconGeneral
BrandHP
ModelData Protector A.06.11
CategorySoftware
LanguageEnglish

Related product manuals