All Products
Search
Document Center

PolarDB:Restore a cluster from the cluster recycle bin

Last Updated:May 27, 2025

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

  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 in which the cluster is deployed.

  4. Find the cluster that you want to restore and click Restore Data to New Cluster in the Actions column.

    恢复数据到新集群

  5. 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.

    Note

    If 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.

    Note

    The 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), select 2021-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.

  6. Complete the payment and wait 10 to 15 minutes to view the new cluster on the Clusters page.

    Note
    • If 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

CreateDBCluster

Restores a released PolarDB cluster in the recycle bin.

Note

You must set the CreationOption parameter to RecoverFromRecyclebin.