View backups for an Autonomous Database

This page describes how to view backups for an Autonomous Database using the Oracle Database@Google Cloud API or Google Cloud CLI.

Autonomous Database lets you create automatic backups of your data that can be used to restore lost data or provide protection against errors. Backups are highly available and are stored for the retention period defined in your Autonomous Database's settings.

In Oracle Database@Google Cloud, Autonomous Database backup retention is set in days and can range from 1 to 60 days, with a default value of 60 days. The retention period is set when you create a database and can't be modified in Google Cloud after creation. To modify the retention period in OCI, see About Backup and Recovery on Autonomous Database.

Backups beyond the set retention period are automatically deleted. Automatic backups are managed by Oracle Cloud Infrastructure (OCI) and billed separately, in addition to database storage.

To see your database's backup settings, View database information.

To learn more about how backup and recovery works for an Autonomous Database, see About Backup and Recovery on Autonomous Database.

View backups for an Autonomous Database

To view available backups for an Autonomous Database, run the following command:

gcloud oracle-database autonomous-database-backups list
--filter='autonomous_database_id="DATABASE_NAME"'
--location=REGION_ID
--project=PROJECT_NAME

Replace the following:

  • DATABASE_NAME: name of the database you want to view backups for.
  • REGION_ID: the region of your database.
  • PROJECT_NAME: the name of your Google Cloud project.

What's next