All Products
Search
Document Center

ApsaraDB for ClickHouse:Data restoration

Last Updated:Apr 22, 2024

If you have backed up the data of an ApsaraDB for ClickHouse cluster, you can use the data restoration feature to restore the data to a new ApsaraDB for ClickHouse cluster.

Billing

If data is restored to a new cluster, you are charged for purchasing the new cluster.

Note

The billing method of the new cluster is the same as that of the source cluster. You cannot change the billing method of the new cluster.

Feature description

ApsaraDB for ClickHouse supports only data restoration for a cluster. ApsaraDB for ClickHouse does not support data restoration for a database or table. When you restore your data, all data in the backup set of your source cluster is restored to the new cluster. The new cluster is known as a clone cluster.

Procedure

  1. Log on to the ApsaraDB for ClickHouse console.

  2. In the upper-left corner of the page, select the region where the cluster that you want to manage is deployed.

  3. On the Clusters page, click the Default Instances tab, and click the ID of the cluster that you want to manage.

  4. In the left-side navigation pane of the page that appears, click Backup and Restoration.

  5. On the Data Backup tab, click Data Recovery in the Actions column.

  6. On the Clone Instance page, view the configurations of the source cluster and configure the following parameters for your clone cluster.

    Parameter

    Description

    Clone Source Cluster

    The ID of the source cluster.

    Cloned Source Type

    The mode that is used to restore data. The value is automatically set to Backup Set.

    Clone Source Backup Set

    The start time of the backup task.

    Region

    The region where the clone cluster is deployed. By default, the region where the clone cluster is deployed is the same as the region where the source cluster is deployed. You cannot change the value of this parameter.

    Zone

    The zone where the clone cluster is deployed.

    Network Type

    The network type. You can only set the value of this parameter to Virtual Private Cloud. A virtual private cloud (VPC) is an isolated virtual network that provides high security.

    Virtual Private Cloud (VPC)

    The VPC where the clone cluster is deployed.

    VSwitch

    The vSwitch associated with the clone cluster.

    Version

    The kernel version of the clone cluster. By default, the kernel version of the clone cluster is the same as that of the source cluster. You cannot change the value of this parameter.

    Edition

    The edition of the clone cluster. This parameter specifies the number of replicas for the clone cluster. By default, the edition of the clone cluster is the same as that of the source cluster. You cannot change the value of this parameter.

    • High-availability: For ApsaraDB for ClickHouse of the High-availability edition, a shard has two replicas. If a replica in the shard fails, the other replica in the shard can take over services from the failed replica.

    • Single-replica Edition: For ApsaraDB for ClickHouse of Single-replica Edition, a shard has only one replica. If the replica fails, the entire cluster becomes unavailable. The cluster can provide stable services only after the replica is recovered.

    Specifications

    The node specification of the clone cluster.

    Nodes

    The number of nodes in the clone cluster. By default, the number of nodes in the clone cluster is the same as that in the source cluster. You cannot change the value of this parameter.

    Storage Type

    The storage type of the clone cluster. Valid values:

    • ESSD PL1 (Recommended), PL2 ESSD, PL3 ESSD, and PL0 ESSD: Enhanced SSDs (ESSDs) are high-performance disks that are developed based on the next-generation distributed block storage architecture. ESSDs provide high read and write performance. A PL3 ESSD outperforms a PL2 ESSD. A PL2 ESSD outperforms a PL1 ESSD. A PL1 ESSD outperforms a PL0 ESSD.

    • Ultra Disk: An ultra disk is a cost-effective disk that provides a medium rate of random input/output operations per second (IOPS) and high data reliability.

    Encryption Type

    The encryption type of the clone cluster. Valid values:

    • Disable Disk Encryption: Data on the disks of the clone cluster is not encrypted.

    • Enable Disk Encryption: All data on the disks of the clone cluster is encrypted based on block storage. If you set this parameter to Enable Disk Encryption, you must select an encryption key.

    Storage Space

    The storage capacity of the clone cluster. By default, the storage capacity of the clone cluster is the same as that of the source cluster. You cannot change the value of this parameter.

  7. Read and select Terms of Service.

    Note

    The billing method of the clone cluster is the same as that of the source cluster. You cannot change the billing method of the clone cluster.

  8. Click Buy Now.

After you purchase the clone cluster, you can go to the Clusters page to view the clone cluster.

Note

In most cases, after you purchase a clone cluster, the creation of the clone cluster requires 10 to 15 minutes. Wait until the clone cluster is created.