By default, automatic backup is enabled. PolarDB automatically backs up data based on the specified backup policy. This way, data security is ensured by periodic and scheduled backups. When a cluster is created, PolarDB automatically backs up data once a day. You can configure parameters such as the frequency of automatic backup and the retention period of backup files in the PolarDB console based on your business requirements.
Usage notes
The backup files that are automatically created cannot be deleted. You can configure the retention period of automatic backup files in the Data Backup Retention Period section in the Backup Policy Settings dialog box.
If you modify the data of a cluster after a snapshot is created for the cluster, the snapshot size increases, which increases backup costs. If you perform defragmentation, data modifications may occur, which also increases the snapshot size.
For example, if your database has 100 GB of data and you modify 10 GB of the data after a snapshot is created:
You are charged for 100 GB of data storage and 10 GB of snapshot storage.
If you retain the snapshots when you delete your database, you are charged for 100 GB of snapshot storage.
Configure an automatic backup policy
Log on to the PolarDB console.
In the upper-left corner, select the region in which the cluster is deployed.
Find the cluster and click its ID.
- In the left-side navigation pane, choose .
On the Backup Policy Settings tab, click Modify.
In the Backup Policy Settings dialog box, configure the parameters in the Data Backup, Log Backup, and General sections. For more information, see Configure backup settings.
After you configure backup settings, click OK.
FAQ
After a cluster is released and deleted, level-2 backup fees are still generated. How do I delete or disable the generated level-2 backup files?
After you delete a cluster, level-1 backups automatically become level-2 backups. Retaining backups may incur fees. You can delete a released cluster at any time to save costs. You can go to the Cluster Recycle Bin page to view all backups. For more information, see Cluster recycle bin.
Related API operations
Operation | Description |
Creates a full backup of a PolarDB cluster. | |
Queries the backup information of a PolarDB cluster. | |
Deletes the backups of a PolarDB cluster. | |
Queries the automatic backup policy of a PolarDB cluster. | |
Modifies the automatic backup policy of a PolarDB cluster. |