Backing up an Oracle Data Guard environment

A backup specification was created for a Primary database backup based on the “Blank Backup”
Data Protector template. All Database components were marked for backup (database, archives,
controlfile) and two backup devices with concurrency 1 each were selected. The backup specification
was saved as OraPRI_DG1.
The configuration file with the same name as the backup specification is stored on the Data Protector
Cell Manager under:
/etc/opt/omni/server/barlists/oracle8 (UNIX)
<DP_HOME>\config\server\barlists\oracle8 (WINDOWS)
and contains the following lines:
BARLIST "OraPRI_DG1"
OWNER "oracle" "dba" "oracle2"
DYNAMIC 1 5
DEVICE "file_device_Writer0"
{
-sync
}
DEVICE "file_device_Writer1"
{
-sync
}
CLIENT "DG1" oracle2
{
-exec ob2rman.exe
-args {
"-backup"
}
-input {
"run {"
"allocate channel 'dev_0' type 'sbt_tape'"
" parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=DG1,OB2BARLIST= OraPRI_DG1)';"
"allocate channel 'dev_1' type 'sbt_tape'"
" parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=DG1,OB2BARLIST= OraPRI_DG1)';"
"backup incremental level <incr_level>"
" format 'OraPRI_DG1<DG1_%s:%t:%p>.dbf'"
" database;"
"sql 'alter system archive log current';"
"backup"
" format 'OraPRI_DG1<DG1_%s:%t:%p>.dbf'"
" archivelog all;"
"backup"
" format 'OraPRI_DG1<DG1_%s:%t:%p>.dbf'"
" current controlfile;"
"}"
}
-public
}
As mentioned previously, the GUI cannot be used for the backup specification definition of a Standby
database. The created Primary database backup specification needs to be modified to allow the
backup of the Standby database.
CAUTION
Editing of a backup specification with a text editor is not supported. This is
an exception. The changes have to be performed exactly as described.
Any other changes to a backup specification are not supported.
10