13.4 Autonomous Data Guard & Backup-Based Disaster Recovery for Autonomous AI Database

Key Takeaways

  • Every Autonomous AI Database Serverless instance has a local Backup-Based Disaster Recovery peer by default.

  • A local Autonomous Data Guard standby provides automatic failover with a two-minute RTO and zero data loss by default.

  • A cross-region Autonomous Data Guard standby supports switchover and manual failover with an RTO under 10 minutes, but no automatic failover.

  • Manual failover to a cross-region Autonomous Data Guard standby has an RPO of up to one minute.

  • A cross-region peer can be converted to a snapshot standby for up to 48 hours, and changes made on it are discarded when it reconnects.

Last updated: October 2026

Choosing a Disaster Recovery Option

Autonomous AI Database Serverless gives you a menu of disaster recovery (DR) options, each with its own RTO, RPO, and cost. Oracle describes the choices this way:

  • By default, every database has a local Backup-Based Disaster Recovery peer.
  • To add automatic failover and lower the RTO, add a local Autonomous Data Guard standby.
  • For the most resilient setup, add a local Autonomous Data Guard standby and one or more cross-region Autonomous Data Guard standbys.
  • For a lower-cost regional option with a higher RTO, add a cross-region Backup-Based Disaster Recovery peer.
OptionFailoverRTORPO
Local Autonomous Data GuardAutomatic or manual; switchover2 minutes0 (automatic failover is zero data loss by default)
Cross-region Autonomous Data GuardManual failover or switchover; no automatic failoverUnder 10 minutes0 for switchover; up to 1 minute for manual failover
Backup-Based Disaster Recovery (local or cross-region)Manual, by restoring from backups1 hour + 1 hour per 5 TBUnder 10 seconds local; 1 minute cross-region

Local Autonomous Data Guard Standby

When you enable a local standby, Autonomous AI Database provisions an identical standby in the same region:

  • In regions with more than one availability domain, the standby is in a different AD.
  • In single-AD regions, it is in a different fault domain (a different physical machine).

You cannot connect to a local standby. You perform operations such as scaling ECPUs or enabling auto scaling on the primary, and Autonomous Data Guard mirrors them on the standby. After a local failover or switchover, client applications keep the same connection strings and wallets, the private endpoint and ACLs carry over, and APIs and scripts keep working. Oracle recommends a regional subnet for private endpoints for the best availability.

Zero data loss protection. Redo is sent synchronously to the local standby, and the primary does not commit until the standby acknowledges receipt. If acknowledgments are delayed (for example by a network problem), the standby can temporarily fall back to asynchronous transport to protect primary availability. This protection is included at no extra cost.

Automatic failover and the data loss limit. Automatic failover is configured by default to require zero data loss. You can set a data loss limit between 0 and 3,600 seconds. If Autonomous Data Guard determines that the potential data loss would exceed the limit, it does not fail over automatically, and you can choose a manual failover. After a local failover completes, a new local standby is created automatically.

Cost. A local standby adds the cost of the primary's base CPUs and storage, billed on the primary.

Cross-Region and Cross-Tenancy Standbys

A cross-region standby protects against the loss of a whole region. With the ECPU model you can add multiple cross-region peers, one per paired region. A standby can also live in a different tenancy, in the same or another region, which adds isolation (for example against ransomware) and can be used to migrate a database between tenancies.

Key differences from a local standby:

  • No automatic failover. If the primary and the local standby are unavailable, you manually fail over to the cross-region standby.
  • You cannot connect to a cross-region standby while it is a standby, and it is not available for read-only queries.
  • Connection strings and wallets contain only the hostname of their own database. After a cross-region switchover or failover, applications must use the wallet or connection string from the new primary, or connection strings that you build manually with both hostnames. Oracle recommends failing over the mid-tier with the database to avoid cross-region latency, which is a job for Full Stack DR.
  • Private endpoints, network ACLs, and tags can be configured independently on the remote peer. For private endpoints in different VCNs, cross-region wallets need remote VCN peering and DNS forwarding.
  • Tool URLs (Database Actions, APEX, ORDS) change after a cross-region role change.
  • Customer-managed keys require the Vault key to be replicated to the standby region; because a vault replicates to only one region, CMK supports only a single cross-region standby.
  • Cost: base CPUs plus twice the primary's storage, billed on the remote peer.

Backups With a Cross-Region Standby

Automatic backups are taken only on the database in the primary role. By default they are not replicated. When you enable cross-region backup replication, up to 7 days of automatic backups are copied to the standby region so you can restore or clone there after a role change.

Backup-Based Disaster Recovery

Backup-Based Disaster Recovery uses backups instead of a running standby. The local peer costs nothing beyond automatic backup storage. A cross-region peer is billed for twice the replicated backup storage. Choose it when an RTO of hours is acceptable and a standby's CPU cost is not justified.

Snapshot Standby for DR Testing

A cross-region peer, whether an Autonomous Data Guard standby or a Backup-Based Disaster Recovery peer, can be converted to a snapshot standby. A local peer cannot. The snapshot standby is a read-write database for up to two days (48 hours):

  • Redo from the primary is still sent to the region, keeping you protected, but it is not applied until the snapshot standby reconnects.
  • On reconnect, manually or automatically at 48 hours, all changes made on the snapshot standby are discarded and the accumulated primary changes are applied.
  • The primary has no downtime during conversion or reconnection, which makes snapshot standbys useful for testing the DR environment, including mid-tier configuration, without a switchover.

Autonomous Data Guard on Dedicated Exadata Infrastructure

On Dedicated Exadata Infrastructure, Autonomous Data Guard is enabled on the Autonomous Container Database (ACD), so it protects every database in the container:

  • Protection mode: Maximum Performance (default, asynchronous) or Maximum Availability (synchronous).
  • Automatic failover (fast-start failover) can be enabled. In Maximum Performance mode, the fast-start failover lag limit defaults to 30 seconds and can be set from 5 to 3,600 seconds, bounding data loss before an automatic failover.
  • When a configuration has a local standby and a remote one, the local standby is preferred as the automatic failover target.
  • Operations include switchover, failover, reinstating a disabled standby, and converting the standby ACD to a snapshot standby.
Loading diagram...
Autonomous AI Database DR Options
Test Your Knowledge

An Autonomous AI Database Serverless primary in Ashburn has a local Autonomous Data Guard standby and a cross-region standby in Phoenix. The whole Ashburn region becomes unavailable. What happens?

A

Autonomous Data Guard fails over to Phoenix automatically within two minutes

B

The local standby takes over automatically and becomes the new primary in Phoenix

C

Backup-based recovery restores the database in Phoenix from replicated backups with zero data loss

D

An administrator manually fails over to Phoenix; RTO is under 10 minutes and RPO up to 1 minute

Test Your Knowledge

The DR team wants to test the full application stack in the standby region every quarter, including writing test data, without a switchover and without downtime on the primary. Which approach should the architect use?

A

Convert the local Autonomous Data Guard standby into a snapshot standby for the test

B

Convert the cross-region peer to a snapshot standby and reconnect it within 48 hours

C

Switch over to the cross-region standby, run the tests there, and switch back afterward

D

Disconnect the cross-region standby, test on it, and add a new standby after the test

Test Your Knowledge

After a cross-region switchover from Ashburn to Phoenix, the application servers in Phoenix cannot connect to the new primary using the wallet they downloaded from the Ashburn database months ago. What is the cause?

A

Cross-region standbys use a different ADMIN password, which the old wallet does not contain

B

A switchover changes the database name, so the old connection strings point to a missing service

C

Each database's wallet holds only its own hostname, so applications need the new primary's wallet

D

The Ashburn private endpoint is copied to Phoenix and must be deleted before connections work

Sections you finish are checked off in the contents.