Note:

Backup and Restore from a Standby Database with Oracle Database Autonomous Recovery Service for Oracle Exadata Database Service on Dedicated Infrastructure

Introduction

We are pleased to announce the General Availability (GA) of the ability to backup and restore from a standby database configured with Oracle Database Autonomous Recovery Service for Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). This feature is available for backups using Oracle Cloud Infrastructure (OCI) Object Storage and Oracle Database Autonomous Recovery Service.

Note: This feature is intended to allow users to schedule automatic backups, configure retention periods and backup schedules, and offload backups to the standby database in Oracle Data Guard environment. It also allows users to restore and recover a primary database using a backup of the standby database and conversely.

Objectives

Prerequisites

Task 1: Enable Automatic Backups with Oracle Database Autonomous Recovery Service on a Standby Database

When you enable Oracle Data Guard, a separate Data Guard association is created for the primary and the standby databases. Also, a new peer VM cluster must be created for the standby database. Once the Oracle Data Guard is set up, navigate to the standby database to enable automatic backups.

  1. Log in to the OCI Console, click Oracle Database and Oracle Exadata Database Service on Dedicated Infrastructure.

    Image showing OCI Console Navigation

  2. In the Exadata VM Clusters page, click the name of the VM Cluster containing the primary database of the standby database for which you want to configure automatic backups.

  3. Under Resources, click Databases and the name of the primary database.

    Image showing primary database from the list of databases

  4. In the Primary Database Details page, click Data Guard associations and the name of the standby database for which you want to configure automatic backups.

    Image showing the standby database

  5. In the Standby Database Details page, click Enable automatic backups to configure backups.

    Image showing the enable automatic backups option

  6. In the Configure database backups window, select Enable automatic backups and enter Autonomous Recovery Service (Recommended) as the Backup destination. Specify and configure the backup retention period and backup schedule. Click Save changes.

    Image showing how to configure backup schedule and retention

  7. The Database Details page displays the Automatic Backup status and details in the Backup section.

    Image showing the automatic backup details

Task 2: Create a Database from a Standby Database Backup

  1. In the Standby Database Details page, click Backups.

  2. In the Backups section, select the backup to restore. Click the Actions menu for the backup and then click Create database.

    Image showing create database from backup

  3. In the Create database from backup window, enter the following information.

    • Add PDB: Select PDBs to restore.
    • Region: Select a region where the new database will reside.
    • Availability Domain: Select an availability domain within the target region.
    • Select Exadata Infrastructure: Select Exadata Infrastructure where the new database will reside.
    • Select VM Cluster: Select Exadata VM cluster where the new database will reside.
    • Configure the Database Home: Select Select an existing Database Home or Create a new Database Home.
    • Enter additional details for the new database.
    • Database Name: Enter a name for the database.
    • Administrator Username and Password: Enter database credentials.

    Image showing how to choose which PDBs to restore

    Image showing how to configure the VM Cluster

  4. Click Create Database. The new database is created in the selected region and availability domain.

    Image showing the Database with the status of provisioning

    Image showing the Database with the status of available

Acknowledgments

More Learning Resources

Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.

For product documentation, visit Oracle Help Center.