The cluster recycle bin stores released PolarDB for MySQL clusters. Restore the cluster from the recycle bin to recover its data to a new cluster.
Before you begin
X-Engine: If X-Engine was enabled on the original cluster and some databases or tables used X-Engine as the storage engine, you must set Storage Engine to InnoDB & X-Engine on the purchase page. Otherwise, the new cluster cannot access data stored in X-Engine.
Backup set timestamps: The Backup History drop-down shows timestamps in UTC. The Data Backups tab shows timestamps in your local system time zone. Convert the time zone before selecting a backup set. For example, a backup listed as
11:19:30 on May 28, 2021(UTC+08:00) on the Data Backups tab corresponds to2021-05-28T03:19:30Z (UTC)in Backup History.
Restore a released cluster
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 released cluster was deployed.
Find the cluster and click Restore Data to New Cluster in the Actions column.

On the purchase page, configure the following parameters. For other parameters, see Custom purchase.
Parameter Description Creation Method Select Restore From Recycle Bin to restore the released cluster in the cluster recycle bin. Source Version The version of the released cluster. Deleted Clusters The ID of the released cluster. Backup History The backup set to restore from. Timestamps are in UTC. Database Engine Automatically set to match the released cluster. No configuration needed. Complete the purchase. The new cluster appears on the Clusters page within 10 to 15 minutes. The cluster is available only when its status changes to Running. If nodes show a Creating status, the cluster is still initializing.
Make sure the correct region is selected on the Clusters page — otherwise the restored cluster will not appear in the list.
API reference
| API | Description |
|---|---|
| CreateDBCluster | Restores a released PolarDB cluster from the recycle bin. Set CreationOption to RecoverFromRecyclebin. |