You can recover a cluster that has a backup.
Prerequisite
You have backed up the cluster to recover. For more information, see Back up now.
Procedure
Log on to the OceanBase Cloud Platform (OCP) console.
Go to the Initiate Recovery page using one of the following methods.
Method 1: Initiate the recovery on the Recovery page.
In the left-side navigation pane, choose Backup & Recovery > Recovery .
On the Recovery page, click Initiate Recovery in the upper-right corner.
Method 2: Initiate the recovery on the O&M page of a cluster.
In the left-side navigation pane, click Clusters to go to the Cluster Overview page.
Click the cluster to recover in Clusters or Resource Usage to go to the O&M page of the cluster.
In the left-side navigation pane, click Backup & Recovery .
On the Backup & Recovery page of the cluster, click Initiate Recovery .
Note
You cannot recover the cluster by using Method 2 in the following circumstances:
The cluster is not in the Running status.
The cluster does not have a backup strategy.
OCP V3.1.2 does not support the recovery of clusters without backup strategies by using Method 2.
Optional. Specify the storage configuration fields if you use Method 1.

Parameter Description Storage Type You can select one of the following media: * File: NFS media. * OSS: Alibaba Cloud Object Storage Service (OSS) is supported only in OceanBase Database V2.2.76 and later. * COS: Tencent Cloud Object Storage (COS) is supported only in OceanBase Database V2.2.77 BP2 and later. Storage Directory Select the directory where the backup files are stored. * You can click Select Existing Configuration to automatically populate the following fields: Domain , User , AccessKey Pair , and Host for Parsing . * You can also manually specify the fields. Domain Enter the domain name of the cloud storage of backup files. * If you select OSS in the Storage Type field, enter the domain name to access the file stored at OSS of Alibaba Cloud. * If you select COS in the Storage Type field, enter the domain name to access the file stored at COS of Tencent Cloud. For example: cos.ap-shanghai.myqcloud.com. User User is displayed only when Storage Type is OSS. It is the user used to access the cloud storage of backup files. AccessKey Pair AccessKey is only displayed when Storage Type is OSS. It is the AccessKey used to access the cloud storage of backup files. Resource Identity (APPID) When Storage Type is COS, move the pointer over the question mark ( ? ) and enter the content as prompted. Project ID When Storage Type is COS, move the pointer over the question mark ( ? ) and enter the content as prompted. Project Key When Storage Type is COS, move the pointer over the question mark ( ? ) and enter the content as prompted. Host for Parsing 1. Enter the value When Storage Directory is set to Select Existing Configuration , the host for parsing is automatically populated. Otherwise, select a value as prompted. 2. Click Parse to obtain the list of clusters that can be recovered. Select Recovery Source and Time and select the values from the drop-down list.
Parameter Description Source Cluster If you initiate a recovery task from the O&M page of a cluster, you do not need to specify the source cluster because it is already specified. Source Tenant Select the tenant to recover. Recovery Date Select a date within the specified restorable time range. Recovery Time Select a point in time within the specified time range. 
Select the destination tenant of the recovery task. Select a cluster in the Running status in the drop-down list and enter the new tenant name.
The following types of clusters cannot be recovered:
Clusters in the primary/standby mode.
Clusters in the Unavailable state.
Specify the following fields in the Zone Configuration section and set the priorities of the zones.
Parameter Description Replica Type Valid values: * Full-featured replica: A general-purpose replica that has a full set of data types and features including transaction logs, a MEMTable, and an SSTable. A full replica can quickly switch to become the leader to provide services. * Log-only replica: a replica that only contains logs. It does not have a MemTable or SSTable. It provides log services for external applications and participates in log voting. It can facilitate the recovery of other replicas, but it can not upgrade to be the leader to provide database services. * Readonly replica: contains full logs, MemTables, and SSTables. You can select this type of replica for applications with low data reading consistency requirements. Unit Specification The specification of the resources that the replica occupies. * You can select an existing specification or * create a new specification as needed and select the new one. Units The amount of resource units occupied by the replica. 
Click Initiate Recovery .