Backing up an Oracle Data Guard environment
Two backup modifications are supported:
A. Backup specification name not changed
B. Backup specification name changed
Type A: Backup specification name not changed
In order to use an existing backup specification for Standby database backup, only two lines must be
modified:
OWNER "<user>" "<group>" "<full qualified hostname>"
CLIENT "<SID>" <full qualified hostname>
Example:
Under the assumption the same Oracle configuration is used on Primary and Standby system, only the
hostname entry has to be changed from Primary to Standby.
OWNER "oracle" "dba" "oracle1"
CLIENT "DG1" oracle1
Type B: Backup specification name changed
In case the backup specification will be saved under a new name after the modification, additional
steps are required:
• Change of the hostname entry in the OWNER and CLIENT line (like in Type A)
• Change of the BARLIST entry
• Change of the OB2BARLIST entry
• Change of the RMAN “format” entries
• Save changed file under the new BARLIST entry name
Example:
Creating a Standby backup specification with new name OraSTBY_DG1
BARLIST "OraSTBY_DG1"
OWNER "oracle" "dba" "oracle1"
DYNAMIC 1 5
DEVICE "file_device_Writer0"
{
-sync
}
DEVICE "file_device_Writer1"
{
-sync
}
CLIENT "DG1" oracle1
{
-exec ob2rman.exe
-args {
"-backup"
11