Determining a strategy for protecting and recovering a Data Guard environment is essential to deploying and using the plug-in in the Data Guard environment. All strategies are valid for any of the supported deployments as detailed in Deployment.
The simplest strategy is to perform all the backups from the Primary Database Server. You can use these backups to recover the Primary or one of the Standby Database Servers. While this strategy is valid, resource-intensive backup operations affect database performance on the Primary Database Server. With this strategy, the plug-in is installed on the Primary Database Server. Plug‑in for Oracle is only required to be installed on the Standby Database Server when it is targeted for a restore.
• |
Oracle 10.2.x: Backing up datafiles and archived redo log files can be offloaded to the Standby Database Server while backups of the Control Files and the SPFILE must be performed on the Primary Database Server. In addition, backups of datafiles and archived redo log files can be used to recover either the Primary or Standby Database Server, regardless of whether the backups were taken from the Primary or Standby Database Server. For more information, see RMAN to Back Up and Restore Files in Oracle 10.2.x Data Guard Concepts and Administration. |
• |
Oracle 11.x: Backups of datafiles, archived redo log files, Control Files, and SPFILE are interchangeable between the Primary and Standby Database Server, which means that all backups can be performed from one of the Standby Database Servers. In addition, you can use backups to recover either the Primary or Standby Database Server, regardless of whether the backups were taken from the Primary or the Standby Database Server. For more information, see Using RMAN to Back Up and Restore Files in Oracle 11.x Data Guard Concepts and Administration. |
With this strategy, Plug‑in for Oracle is installed on both the Primary and at least one of the Standby Database Servers that performs backups.
NOTE: For Oracle versions before Oracle 11.x, backups of SPFILE were assumed to be usable at any other standby database. However, in practice, all standby databases cannot use the same SPFILE. Therefore, RMAN does not allow an SPFILE backup taken at one database site to be used at a different database site. This restriction is in place only when the COMPATIBLE initialization parameter is set to 11.0.0. The standby database lets you offload all backup operations to one specific standby database, except the backups of SPFILE. However, if the COMPATIBLE initialization parameter is set to 11.0.0, the SPFILE can be backed up to disk and cataloged manually at standby sites where backups are written to tape or NetVault media. The additional metadata stored in SPFILE backup sets enables RMAN to identify which database SPFILE is contained in which backup set. Thus, the appropriate SPFILE backup is chosen during restore from tape or NetVault media. |
When implementing a strategy that backs up from both Primary and Standby Servers for an Oracle 10.2.x Data Guard environment, consider the accompanying backup-destination strategy, which is detailed in Defining a Backup Destination strategy.
In Oracle 11.x Data Guard environments, the Oracle parameter db_unique_name allows the Recovery Catalog to distinguish the origin of backups to the FRA. When selecting FRA-to-NetVault Media Manager backups, RMAN backs up the backup sets in the FRA of the Database Server performing the FRA-to-NetVault Media Manager backup.
For more information on performing backups to NetVault Media Manager, see Setting backup options. For more information on FRA backups, see Flash Recovery Area (FRA) backups.
Starting with Oracle 11.x, backups of datafiles, archived redo log files, Control Files, and SPFILE are interchangeable between the Primary and Standby Database Server. This interchangeability means that all backups can be performed from one of the Standby Database Servers. With this strategy, Plug‑in for Oracle is installed on both the Primary Database Server and at least one of the Standby Database Servers that performs backups. The plug-in must be installed on the Primary Database Server when it is targeted for a restore; that is, if you want to use the backup of the Standby Database Server to recover the Primary Database Server, you need to install the plug-in on the Primary Database Server.
© ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center