Automatic backup is enabled by default. After you create a cluster, PolarDB backs it up once a day. Configure the backup policy to match your recovery requirements and compliance needs.
Prerequisites
Before you begin, ensure that you have:
A PolarDB for Oracle cluster
Access to the PolarDB console
Configure the backup policy
Log on to the PolarDB console.
In the upper-left corner, select the region where your cluster is deployed.
Find the cluster and click the cluster ID.
In the left-side navigation pane, choose Settings and Management > Backup and Restore.
Click Backup Policy Settings.
On the Backup Policy Settings tab, click Edit and configure the following parameters.
Parameter Description Backup Frequency Select Standard Backup or High-frequency Backup. See Backup frequency options below. Data Backup Retention Period Set retention periods for level-1 and level-2 backups. See Retention periods below. Click OK.
Backup frequency options
Standard Backup
Set the cycle and start time for automatic data backup.
Back up your cluster at least twice a week to prevent data loss.
High-frequency Backup
Select a fixed interval within a rolling 24-hour window:
Last 24 Hours, Every 2 Hours
Last 24 Hours, Every 3 Hours
Last 24 Hours, Every 4 Hours
Retention periods
Level-1 backup
Level-1 backup is enabled by default with a 7-day retention period. You can adjust the retention period within the supported range of 3 to 14 days.
Level-2 backup
Level-2 backup is disabled by default. When enabled, additional storage fees apply. You can delete backup files to reduce costs. For pricing details, see Billing rules of backup storage that exceeds the free quota.
| Option | Details |
|---|---|
| Retention range | 30 to 7,300 days |
| Long-term retention | Select Long-term Retain Backups before Cluster Deletion to keep backups until the cluster is deleted. When this option is selected, you cannot specify a fixed retention period. |
API reference
| API | Description |
|---|---|
| CreateBackup | Creates a full backup of a specified PolarDB cluster |
| DescribeBackups | Queries backup information for a specified PolarDB cluster |
| DeleteBackup | Deletes backups for a specified PolarDB cluster |