You can use Hybrid Backup Recovery (HBR) clients to back up files from on-premises servers or virtual machines (VMs). You can also restore the files as needed. This topic describes how to prepare for a data backup.

Background information

You can use different HBR clients based on the actual scenarios. HBR clients are activated by using the following methods:
  • HBR clients for Windows can only be manually activated.
  • HBR clients for Linux can be automatically or manually activated.
  • HBR clients for backup appliances can be activated only by using appliances.

Prepare an AccessKey pair for a RAM user (Recommended)

Resource Access Management (RAM) is an Alibaba Cloud service that allows you to manage user identities and control access to resources. RAM allows you to create and manage multiple identities within an Alibaba Cloud account and grant diverse permissions to a single identity or a group of identities. This way, you can authorize different identities to access different Alibaba Cloud resources.

An AccessKey pair is required when you activate an HBR client. The AccessKey pair is an identity credential. If the AccessKey pair of your Alibaba Cloud account is leaked, all cloud resources that belong to the account are exposed to risks. Therefore, we recommend that you use the AccessKey pair of a RAM user to activate HBR clients. For information about how to create a RAM user and create an AccessKey pair for the RAM user, see Create a RAM user and Create an AccessKey pair for a RAM user.

Download and activate an HBR client for Windows

  1. Log on to the HBR console.
  2. In the left-side navigation pane, choose Backup > On-Premises Backup.
  3. On the On-Premises Backup page, click File (New).
  4. In the upper-right corner of the page, click Add Client.
  5. Download the HBR client for Windows.
    You can download the installation package of the HBR client for Windows (64-bit) or Windows (32-bit). Record the activation code. The code is used to install and activate the client.
  6. Install and activate the HBR client for Windows.
    1. Double-click the installation package of the HBR client and select a language for installation.
    2. Select the path in which you want to install the client and click Next.
    3. Select Local client connecting to Alibaba Cloud, and then click Next.
    4. If you want to use a proxy server, enter the IP address of the proxy server. Click Next.
    5. Enter the activation code that you recorded in Step 4 in the Activation token field. Then, click Next.
    6. Click Install.
      After the client is installed, Activated is displayed in the Client Status column on the Clients tab.

Download and activate an HBR client for Linux

  1. Log on to the HBR console.
  2. In the left-side navigation pane, choose Backup > On-Premises Backup.
  3. On the On-Premises Backup page, click File (New).
  4. In the upper-right corner of the page, click Add Client.
  5. Download and decompress the HBR client for Linux.
    You can download the installation package of the HBR client for Linux (64-bit) or Linux (32-bit). Record the activation code. The code is used to install and activate the client.
  6. Manually or automatically activate the HBR client for Linux.

    In the following example, 05M72DYX indicates the dynamic activation code that is obtained from the HBR console.

    • Manually activate the HBR client for Linux.

      In the path to which the HBR client is decompressed, run the following command to activate the client: ./setup -t local -k 05M72DYX.

    • Automatically activate the HBR client for Linux.

      Run the following command on the HBR client: /bin/bash -c "$(curl -fsSL https://a-hbr-resource-shanghai.oss-cn-shanghai.aliyuncs.com/client/install/hbrclient/install-local-hbr-client.sh)" -- -k 05M72DYX. The client is then automatically activated.

      In the preceding command, https://a-hbr-resource-shanghai.oss-cn-shanghai.aliyuncs.com indicates the public endpoint of the OSS bucket that stores the scripts used to activate HBR clients.

Activate the HBR client on a backup appliance

An HBR client is installed and configured on each backup appliance before delivery. You can activate the HBR client without additional configurations. If you have questions, submit a ticket.

To activate the HBR client on a backup appliance, perform the following steps:

  1. Open a browser, enter http://hostname:8011 in the address bar, and then click Enter.
    hostname indicates the IP address of the backup appliance.
  2. On the Register page, set the parameters and click Register.
    The following table describes the parameters that you can set in the basic settings.
    Parameter Description
    Activation Code The code that you use to access Alibaba Cloud resources.

    You can perform the following steps to obtain the activation code:

    1. In the upper-right corner of the page, click Add Client.
    2. In the Client Active Method field of the Add Client panel, click Appliance Active to obtain the activation code.
    Deployment Environment Select Alibaba Cloud or Apsara Stack.
    Data Path Network You can select Public Network or Intranet (Classic or VPC).
    Note If you select VPC, the ECS instance on which the HBR client is installed must run in VPC. The ECS instance must be deployed in the region where the backup vault resides.