The cluster recycle bin allows you to restore a released PolarDB cluster as a new one or delete its backup sets. This topic uses a PolarDB for MySQL cluster as an example to describe the restoration process.
Usage notes
-
A cluster in the cluster recycle bin can be restored only if it has at least one backup set.
-
After a cluster is released, all level-1 backups in the cluster recycle bin are asynchronously archived as level-2 backups at a rate of approximately 150 MB/s. For more information about backups, see backup and recovery.
-
Ensure that your account has a sufficient balance to avoid restoration failures due to overdue payments.
Procedure
Log on to the PolarDB console.
-
In the left-side navigation pane, click Cluster Recycle Bin.
In the upper-left corner, select the region where the cluster is deployed.
-
Find the target cluster, and click Restore Data to New Cluster in the Actions column.
-
In the pop-up purchase page, configure the following parameters. You can configure the other parameters based on your business needs. For more information, see Custom Purchase.
Parameter
Description
Creation Method
Select Restore from Recycle Bin to restore a deleted PolarDB cluster based on the cluster backup sets in the cluster recycle bin.
NoteIf the original PolarDB cluster has X-Engine enabled and contains data in it, you must select InnoDB & X-Engine for Storage Engine. Otherwise, the new PolarDB cluster cannot access the data in X-Engine.
Original Version
Select the version of the deleted cluster.
Deleted Clusters
Select the ID of the deleted cluster.
Backup history
Select the backup that you want to restore.
NoteThe backup times displayed in the Backup History list are in UTC. The backup times displayed on the Data Backups tab are in your local time zone. Make sure that you select the correct backup.
For example, if you are in the UTC+8 time zone and a backup's creation time is displayed as
11:19:30 on May 28, 2021(UTC+8) on the Data Backups tab, you must select2021-05-28T03:19:30Z(UTC) from the Backup History list.Database Engine
The database engine version of the new PolarDB cluster. This value is inherited from the original cluster and cannot be changed.
-
After you complete the purchase, the cluster is created in 10 to 15 minutes. You can then view the new cluster in the cluster list of the PolarDB console.
Note-
The cluster is unavailable while its status is Creating. It is ready for use when the status changes to Running.
-
Ensure you have selected the correct region to see your new cluster.
-
FAQ
-
Why am I receiving the error message
The restore function has been disabled due to arrears.when I restore a cluster from the cluster recycle bin?This error occurs if your Alibaba Cloud account has an overdue payment, which disables the backup and recovery feature for PolarDB clusters. This feature is automatically re-enabled after you settle the payment.
If the error persists, you can manually call the ReactivateDBClusterBackup operation to re-enable it.
Note-
If your Alibaba Cloud account has an overdue payment for more than 14 days, the backup sets in the cluster recycle bin are automatically released. The data is permanently deleted and becomes irrecoverable.
-
You can run the API operation directly in OpenAPI Explorer without calculating the signature.
-
Related APIs
|
API |
Description |
|
Creates a new PolarDB cluster by restoring it from the cluster recycle bin. Note
When you call this operation, set the |
|
|
Re-enables the backup feature for a PolarDB cluster. |