Integrating Oracle and Data Protector

Configuring an Oracle Backup

If an appropriate template was selected, or if the statement was manually added, the RMAN statement to delete the Archived Redo Logs after they are backed up:

archivelog all delete input;

If the control file was selected for a backup, an RMAN backup statement for the backup of Oracle control files. The backup statement consists of the following:

The Oracle format of the backup file in the following format:

format

'<Backup_Specification_Name><<DB_NAME>_%s:%t:%p>.dbf' current controlfile;

NOTE

When an Oracle format of the backup file is manually defined or changed

 

by editing the RMAN script, any user-defined combination of the Oracle

 

substitution variables can be added to the %s:%t:%p substitution

 

variables and <DB_NAME>, which are obligatory.

 

— The RMAN current controlfile command.

 

Example of the

The following is an example of the RMAN script section as created by

RMAN Script

Data Protector based on the Blank Oracle Backup template, after the

 

whole database selection:

 

run {

 

allocate channel 'dev_0' type 'sbt_tape' parms

 

'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=DIPSI,OB2BARLIST=New1)';

 

allocate channel 'dev_1' type 'sbt_tape' parms

 

'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=DIPSI,OB2BARLIST=New1)';

 

allocate channel 'dev_2' type 'sbt_tape' parms

 

'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=DIPSI,OB2BARLIST=New1)';

 

backup incremental level <incr_level>

 

format 'New1<DIPSI_%s:%t:%p>.dbf'

 

database

 

;

 

backup format 'New1<DIPSI_%s:%t:%p>.dbf' archivelog all;

50

Chapter 1