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
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.
After you complete the payment, 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.
FAQ
Related API operations
Operation | Description |
Restores a released PolarDB cluster from the cluster recycle bin. Note When you call the operation, set the CreationOption parameter to RecoverFromRecyclebin. | |
Re-enables the backup feature for a PolarDB cluster. |