The cluster recycle bin stores released PolarDB for MySQL clusters. You can restore a cluster that was accidentally released from the cluster recycle bin.
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 in which the cluster is deployed.
Find the cluster that you want to restore and click Restore Data to New Cluster in the Actions column.

In the purchase page that appears, configure the parameters in the following table. You can configure other parameters based on your business requirements. For more information, see Custom purchase.
Parameter
Description
Creation Method
Select Restore From Recycle Bin to restore the released cluster in the cluster recycle bin.
NoteIf X-Engine is enabled for the original cluster and some databases or tables of the original instance are stored in X-Engine, you need to set Storage Engine to InnoDB & X-Engine. Otherwise, the new instance cannot access data stored in the X-Engine of the original instance.
Source Version
The version of the released cluster.
Deleted Clusters
The ID of the released cluster.
Backup History
The backup set from which you want to restore the cluster.
NoteThe Backup History drop-down list displays the timestamps of backup sets in UTC. However, the Data Backups tab displays timestamps of backup sets in the same time zone as the system time. Make sure that you choose the correct backup set.
For example, if the timestamp of a backup set on the Data Backups tab is
11:19:30 on May 28, 2021(UTC+08:00), select2021-05-28T03:19:30Z (UTC)in the Backup History drop-down list.Database Engine
By default, the database engine version of the new PolarDB cluster is the same as that of the released cluster. You do not need to configure the parameter.
Complete the payment and wait 10 to 15 minutes to view the new cluster on the Clusters page.
NoteIf specific nodes in the cluster are in the Creating state, the cluster is being created and is unavailable. The cluster is only available when the cluster is in the Running state.
Make sure that you have selected the region in which the cluster is deployed. Otherwise, you cannot view the cluster.
Related API operations
API | Description |
Restores a released PolarDB cluster in the recycle bin. Note You must set the CreationOption parameter to RecoverFromRecyclebin. |