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 #131 background imageLoading...
Page #131 background image
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)';
restore tablespace 'TEMP';
release channel 'dev1';
recover tablespace 'TEMP';
release channel 'dev2';
}
You can also save the script into a file and perform a tablespace restore using the
saved files:
1. Create a file restore_TAB in the /var/opt/omni/tmp (UNIX systems) or
Data_Protector_home\tmp (Windows systems) directory.
2. Start the tablespace restore.
• On Windows: ORACLE_HOME\bin\rman target sys/manager@PROD
catalog rman/rman@CATAL
cmdfile=Data_Protector_home\tmp\restore_TAB
• On UNIX: ORACLE_HOME/bin/rman target sys/manager@PROD
catalog rman/rman@CATAL
cmdfile=/var/opt/omni/tmp/restore_TAB
Example of datafile restore and recovery
To restore and recover a datafile, you may take only a part of the database offline.
To restore and recover a datafile:
1. Log in to the Oracle RMAN.
• On Windows: ORACLE_HOME\bin\rman target sys/manager@PROD
catalog rman/rman@CATAL
• On UNIX: ORACLE_HOME/bin/rman target sys/manager@PROD
catalog rman/rman@CATAL
Zero downtime backup integration guide 131

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