The cluster recycle bin stores released PolarDB clusters. This topic describes the principles, retention periods, and billing for the PolarDB cluster recycle bin.
Usage notes
After you manually unsubscribe or release a cluster, if you choose to retain the backup sets long-term, the backup sets are automatically moved to the cluster recycle bin.
After a cluster enters the cluster recycle bin, backup retention rules vary by storage type:
-
For clusters that use the PSL4 or PSL5 storage type, level-1 backups are asynchronously converted to level-2 backups and billed accordingly. The conversion speed is approximately 150 MB/s.
-
For clusters that use the ESSD cloud disk storage type, backups are still billed as data backups.
For clusters in the cluster recycle bin, you can restore a released cluster or permanently delete a released cluster.
-
Retaining backups may incur a small fee. You can delete backups at any time to reduce costs.
-
If your Alibaba Cloud account has an overdue payment, the backup restore feature for PolarDB clusters in the cluster recycle bin is disabled. The feature is automatically re-enabled after you add funds to your account.
-
If your Alibaba Cloud account has been overdue for more than 14 days, the system automatically releases the backup sets in the cluster recycle bin. The data is permanently deleted and cannot be recovered.
Retention period
In the cluster recycle bin, backup sets can be retained for a maximum of 7,300 days.
Billing
Backup retention rules vary by storage type:
-
For clusters that use the PSL4 or PSL5 storage type, level-1 backups in the recycle bin are free of charge. Fees apply only after they are converted to level-2 backups.
-
For clusters that use the ESSD cloud disk storage type, backups are still billed as data backups.
Storage type | Region | Price (USD/GB/hour) |
| Chinese mainland | 0.0000325 |
Regions outside Chinese mainland | 0.0000455 |
FAQ
Q:How do I configure the cluster recycle bin to retain only the most recent full backup set?
A:For a released PolarDB cluster in the recycle bin, you cannot configure the "retain only the most recent full backup" option. You can delete redundant backup sets by using one of the following methods:
-
Manuallydelete backups. We recommend that you retain at least one backup. Otherwise, the cluster cannot be restored.
-
Call API operations to delete backups in batches. The procedure is as follows:
-
DescribeDBClustersWithBackupsQuery the PolarDB cluster ID that has backup sets (DBClusterId).
-
CallDescribeBackupsby cluster ID to obtain the backup set ID (BackupId).
-
CallDeleteBackupby cluster ID and backup set ID to delete the backup.
-