Add a Cross-Region Standby Database
You can enable Autonomous Data Guard with a cross-region standby when Autonomous Database is available (Lifecycle State shows Available).
To add a standby database you must have adequate available resources. Adding an Autonomous Data Guard standby database will only be successful if adding the standby database does not cause you to exceed your Tenancy or compartment limits for CPU and Storage.
Perform the following prerequisite steps as necessary:
-
Open the Oracle Cloud Infrastructure Console by clicking the next to Oracle Cloud.
-
From the Oracle Cloud Infrastructure left navigation menu click Oracle Database and then, depending on your workload, click one of: Autonomous Data Warehouse or Autonomous Transaction Processing.
-
On the Autonomous Databases page select your Autonomous Database from the links under the Display name column.
To add a cross-region Autonomous Data Guard standby:
When provisioning completes, on the Autonomous Database Details page under Disaster recovery the Oracle Cloud Infrastructure Console shows the following:
-
Role shows Primary
-
The Local field shows either Backup-based or Autonomous Data Guard. When the local field shows Backup-based, there is also a link, Upgrade to Autonomous Data Guard. Click this link to upgrade your local disaster recovery to Autonomous Data Guard.
-
The Cross-region field shows:
-
Autonomous Data Guard when you have single cross-region standby database.
-
x peers: When you have multiple cross-region disaster recovery peers, where x is the number of cross-region peers.
-
When you add a cross-region standby, the standby database
created in the remote region has the same display name as the primary database with
an "_
region" extension. Where region is the region
name, such as IAD
or BOM
.
When you click Disaster recovery under Resources, the Peer Autonomous Database column shows the standby database name and a provides a link. Click the link to go to the Oracle Cloud Infrastructure Console for the remote standby database.
Notes for adding a cross-region standby database:
-
Autonomous Database generates the Enable cross-region disaster recovery work request. To view the request, under Resources click Work requests.
-
After you add a cross-region (remote) standby database, the wallet and connection string from the primary database will contain only the hostname of the primary database, and the wallet and connection string from the remote database will contain only the hostname of the remote database. This applies for both instance and regional wallets.
See Cross-Region Disaster Recovery Connection Strings and Wallets for more information.
-
If you select Enable cross-region backup replication to disaster recovery peer, it can take between several minutes and several hours to replicate the backups to the remote region, depending on the size of the backups. After backups are replicated, when you select Backups under Resources on the peer database's Oracle Cloud Infrastructure Console, you will see the list of replicated backups.
-
While you add a standby database and the Lifecycle State shows Updating, the following actions are disabled for the primary database:
-
Move Resource. See Move an Autonomous Database to a Different Compartment for information on moving an instance.
-
Stop. See Stop Autonomous Database for information on stopping an instance.
-
Restart. See Restart Autonomous Database for information on restarting an instance.
-
Restore. See Restore and Recover your Autonomous Database for information on restoring.
-
Add cross-region disaster recovery peer. You need to wait until the update completes on the primary database before you can add an additional cross-region peer.
-
-
See Cross-Region Autonomous Data Guard Notes and Notes for Customer-Managed Keys in OCI Vault with Autonomous Data Guard for information on using customer-managed keys and for additional notes for using Autonomous Data Guard with a cross-region standby.
- Enable or Disable Backup Replication for an Existing Cross-Region Standby
You can enable or disable backup replication on a Autonomous Data Guard cross-region standby.
Enable or Disable Backup Replication for an Existing Cross-Region Standby
To enable or disable backup replication for an existing cross-region Autonomous Data Guard standby:
If you select Enable cross-region backup replication to disaster recovery peer, it can take between several minutes and several hours to replicate the backups to the remote region, depending on the size of the backups. After backups are replicated, when you select Backups under Resources on the peer database's Oracle Cloud Infrastructure Console, you will see the list of replicated backups.
Parent topic: Add a Cross-Region Standby Database