Example Of Archive Log Restore - HP Data Protector A.06.11 Integration Manual

For oracle and sap
Hide thumbs Also See for Data Protector A.06.11:
Table of Contents

Advertisement

Example of archive log restore

To restore an archive log:
1.
Log in to the Oracle RMAN:
If you use the recovery catalog database, run:
• 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
• On OpenVMS: rman target sys/manager@PROD sys/manager@PROD
catalog rman/rman@CAT
If you do not use the recovery catalog database, run:
• On Windows: ORACLE_HOME\bin\rman target sys/manager@PROD
nocatalog
• On UNIX: ORACLE_HOME /bin/rman target sys/manager@PROD
nocatalog
• On OpenVMS: rman target sys/manager@PROD nocatalog
2.
Start the archive log restore:
run{
allocate channel dev1 type 'sbt_tape' parms
'SBT_LIBRARY=/opt/omni/lib/libob2oracle8.so,
ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=DB_NAME)';
restore archivelog all;
release channel dev1;}
You can also save the script into a file and perform an archive log restore using the
saved files:
1.
Create a file restore_arch in the /var/opt/omni/tmp (UNIX systems) or
Data_Protector_home\tmp (Windows systems) directory.
Integration guide for Oracle and SAP
129

Advertisement

Table of Contents
loading

Table of Contents