All Products
Search
Document Center

PolarDB:Restore a cluster from the cluster recycle bin

Last Updated:Mar 28, 2026

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 to 2021-05-28T03:19:30Z (UTC) in Backup History.

Restore a released cluster

  1. Log on to the PolarDB console.

  2. In the left-side navigation pane, click Cluster Recycle Bin.

  3. In the upper-left corner, select the region where the released cluster was deployed.

  4. Find the cluster and click Restore Data to New Cluster in the Actions column.

    Restore Data to New Cluster button in the Actions column

  5. On the purchase page, configure the following parameters. For other parameters, see Custom purchase.

    ParameterDescription
    Creation MethodSelect Restore From Recycle Bin to restore the released cluster in the cluster recycle bin.
    Source VersionThe version of the released cluster.
    Deleted ClustersThe ID of the released cluster.
    Backup HistoryThe backup set to restore from. Timestamps are in UTC.
    Database EngineAutomatically set to match the released cluster. No configuration needed.
  6. 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

APIDescription
CreateDBClusterRestores a released PolarDB cluster from the recycle bin. Set CreationOption to RecoverFromRecyclebin.