All Products
Search
Document Center

PolarDB:Restore a released cluster

Last Updated:May 27, 2025

The cluster recycle bin stores released PolarDB clusters. You can restore a released cluster in the cluster recycle bin to a new cluster, or delete the backup sets of the released cluster. This topic describes how to restore a PolarDB for MySQL cluster in the cluster recycle bin.

Usage notes

  • Released clusters in the cluster recycle bin must have at least one backup set. If all backup sets of a cluster have been deleted, the cluster cannot be restored.

  • After a cluster is released, all level-1 backups in the cluster recycle bin are asynchronously archived to level-2 backups at a rate of approximately 150 MB/s. For more information about backups, see Backup and restoration.

  • Make sure that your account has sufficient balance to avoid restoration failures due to overdue payment.

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. After you complete the payment, 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.

FAQ

I encounter the error message The restore function has been disabled due to arrears. when I try to restore a released cluster from the cluster recycle bin. What do I do?

If your Alibaba Cloud account has an overdue payment, the system disables the backup and restoration features for PolarDB clusters. To re-enable the backup and restoration features for PolarDB clusters, recharge your Alibaba Cloud account.

If you still cannot restore the cluster after recharging, call the ReactivateDBClusterBackup API to manually enable the backup and restoration features.

Note
  • If your account remains in arrears for over 14 days, the system automatically deletes the backups in the cluster recycle bin. The backups cannot be recovered after they are deleted.

  • OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call the ReactivateDBClusterBackup operation in OpenAPI Explorer.

Related API operations

Operation

Description

CreateDBCluster

Restores a released PolarDB cluster from the cluster recycle bin.

Note

When you call the operation, set the CreationOption parameter to RecoverFromRecyclebin.

ReactivateDBClusterBackup

Re-enables the backup feature for a PolarDB cluster.