Create a Data Guard policy
Note:
If you choose , , or , then the following applies:
Only one database is backed up at policy run time.
To create a Data Guard policy
- Open the NetBackup web UI.
- On the left click Protection > Policies. Then click Add.
- Configure the Attributes tab.
- Configure the Instances and databases tab.
All databases or RAC databases that are listed in a policy must be part of the same Data Guard configuration. Each Data Guard configuration needs a separate policy.
- On the Backup selections tab, select the wanted option.
The policy cannot have the backup type Database Backup Shares or Whole Database - Datafile Copy Share selected. These selections are incompatible with Data Guard-aware policies.
- Click the Oracle tab.
See Oracle tab.
- Locate the Data Guard backup options.
The Data Guard backup options let you specify a policy to always back up the primary or a standby database:
None - NetBackup does not look at the Data Guard role. At the policy run time each database or RAC database in the policy is backed up.
Require primary - This option backs up the primary Data Guard database in the list of databases (or RAC databases) in the policy.
If the primary is not available, the backup fails. A message appears in the job details that indicates NetBackup cannot find the primary database.
Require standby - This option backs up a standby Data Guard database in the list of databases (or RAC databases) in the policy. The first standby database NetBackup finds, is backed up. Currently there is no way to set a priority order for the standby databases.
Oracle Intelligent Policies do not support RMAN proxy type backups of Data Guard standby databases.
If the standby is not available, the backup fails. A message appears in the job details that indicates NetBackup cannot find the standby database.
Prefer standby - This option backs up a standby Data Guard database in the list of databases (or RAC databases) in the policy. If a standby database is not found and the primary is available, then the primary database is backed up.
Oracle Intelligent Policies do not support RMAN proxy type backups of Data Guard standby databases.
- Click Create.