Hybrid Backup Recovery (HBR) allows you to back up data from workflow-based data stores. Currently, you can use HBR to back up data from data stores such as SAP HANA, SQL Server, MySQL, and MongoDB databases. This topic describes the preparations that you need to make before backing up data.

(Recommended) Prepare an AccessKey for a RAM user

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

An AccessKey is required when you activate a backup client. If the AccessKey of an Alibaba Cloud account is leaked, all cloud resources under the account may be exposed to risk. Therefore, we recommend that you use the AccessKey of a RAM user to activate backup clients. Before you back up data, make sure that a RAM user is created and an AccessKey is created for the RAM user. For more information, see Create a RAM user and Create an AccessKey pair for a RAM user.

Step 1: Create a client

You can use a file backup client to back up and restore files. Before that, you must create a file backup client and download the installation package to a host in a local IDC. You can create a file backup client in the HBR console. To create a file backup client, follow these steps:

  1. Log on to the HBR console.
    If your server or virtual machine runs a Linux operating system without a graphical user interface (GUI), use an intermediate host with a GUI as an agent to log on to the HBR console.
  2. In the left-side navigation pane, choose Backup & Recovery > On-Premises Backup. On the On-Premises Backup page, select File.
  3. Select a region where you want to store backup data.
    Note
    • If you use a Virtual Private Cloud (VPC), select the region of the VPC where the data to be backed up resides. This guarantees a fast backup.
    • If you do not use a VPC but expect optimal backup performance, we recommend that you select a region that is close to the location where the data to be backed up resides.
    • If you do not use a VPC but expect disaster recovery, we recommend that you select a region distant from the location where the data to be backed up resides to avoid losing data during a disaster.
  4. On the page that appears, click Create Client in the upper-right corner.
  5. In the Create Client pane that appears, set parameters as required.
    The following table describes the parameters.
    Parameter Description
    Backup Vault Config Specifies whether to create a backup vault or select an existing backup vault. A backup vault is a repository used by HBR to store backup data in the cloud. You can back up data from multiple backup clients to the same vault. Backup vaults reside in different regions. You can only select or create backup vaults in the current region.
    • If you have created backup vaults, set the value to Select Vault and select a backup vault from the Vault Name drop-down list.
    • If you have not created any backup vaults, set the value to Create Vault and set Vault Name to create a backup vault. The vault name can be a maximum of 64 characters in length.
    Source Client The source of the backup client. You can select an activated client or create a client.
    Client Name The name of the backup client. The client name can be a maximum of 64 characters in length.
    Software Platform The operating system that is running on the host from which you want to back up data. Valid values:
    • Windows 32-bit
    • Windows 64-bit
    • Linux 32-bit
    • Linux 64-bit
    Network Type
    • Virtual Private Cloud (VPC): Select this option when the host from which you want to back up data resides in a VPC and is in the same region as the backup vault.
    • Public Network: Select this option when VPCs are unavailable.
    Transmit Data On HTTPS Specifies whether to enable HTTPS-encrypted transmission. Your data will be encrypted and stored in a backup vault. You can choose whether to use HTTPS to encrypt the data during transmission. Note that using HTTPS will degrade the data transmission performance. If you modify this configuration, the modification takes effect when the next backup or restore job starts.
  6. Click Create and then Download Client.
    Note You can install a file backup client to back up data from your host to HBR. After you create a file backup client, you can also find the client in the client list and download the installation package of the client at any time.

Step 2: Install and activate the client

After you download the installation package and certificate of a file backup client to a server or virtual machine from which you want to back up data, install and activate the client. To install and activate the client, follow these steps:

  1. Select an installation directory, decompress the installation package, and then install the file backup client.
    Note Make sure that enough space is available in the installation directory because operational logs and an executable file are all stored in the installation directory.
    • If your host runs Windows, run the executable file decompressed from the installation package, select an installation directory, and then follow the instructions to install the client.
    • If your host runs Linux, decompress the installation package to a specified directory and run the ./setup command to install the client.
  2. After the file backup client is installed, activate the client. Go to the HBR console. In the New Client step of the Create Client pane, click Next and set the parameters as described in the following table to activate the client.
    Note We recommend that you download the installation package and install a file backup client before activating the client.
    Parameter Required Description
    Client IP Address Yes The IP address of the file backup client that your current host can access. It can be an internal IP address or a public IP address. For example, the IP address can be the default IP address 127.0.0.1, 12.34.56.78:8011, or 87.65.43.21:8443.
    Note The IP address must be reachable from your current browser.
    AccessKey Id Yes The AccessKey ID and AccessKey secret of the RAM user used to access HBR. You can obtain the AccessKey ID and AccessKey secret of a RAM user under your Alibaba Cloud account for which HBR is activated. For more information, see Create an AccessKey for a RAM user.
    AccessKey Secret Yes
    Create Client Password Yes The password used to log on to the file backup client. The password must be at least six characters in length.
    Data Network Proxy No The URL of the proxy server used to transmit backup data.
    Note You can configure a data network proxy only for a file backup client whose version is 1.11.11 or later.
    Control Network Type No The type of the network through which you call the HBR API.
    Control Network Proxy No The URL of the proxy server used to call the HBR API.
    Message Channel Network Type No The type of the network through which the server delivers messages to the file backup client.
  3. Click Activate Client. The webpage of the file backup client appears. Then, you can use the file backup client to back up data.
    If you fail to activate a client, you can use one of the following methods to reactivate the client:
    • Reactivate a client in the console

      Go to the HBR console. On the On-Premises Backup page, select File. On the page that appears, find the target file backup client and choose More > Activate Client in the Actions column to reactivate the client.

    • Reactivate a client in a browser
      1. Go to the HBR console. On the On-Premises Backup page, select File. On the page that appears, find the target file backup client and choose More > Download Certificate in the Actions column.
      2. Open a browser and enter http://localhost:8011 in the address bar.
      3. On the Register page that appears, set the parameters as described in the following table and click Register.
        Parameter Required Description
        Certificate File Yes The certificate used to verify the validity of the file backup client. Select and upload the downloaded certificate.
        Access Key ID Yes The AccessKey ID and AccessKey secret of the RAM user used to access HBR. You can obtain the AccessKey ID and AccessKey secret of a RAM user under your Alibaba Cloud account for which HBR is activated. For more information, see Create an AccessKey for a RAM user.
        Access Key Secret Yes
        Backup Data Network No The type of the network through which you back up data. You can select Public Network or Alibaba Intranet.
        Control Network Proxy No The URL of the proxy server used to call the HBR API. The URL consists of the username, password, IP address, and listening port number of the proxy server.

        If identity authentication is not required, you can leave the username and password blank.

        Data Network Proxy No The URL of the proxy server used to transmit backup data.

        The URL consists of the username, password, IP address, and listening port number of the proxy server. If identity authentication is not required, you can leave the username and password blank.

        Control Network Type No The type of the network through which you call the HBR API.
        Message Channel Network Type Yes The type of the network through which the server delivers messages to the file backup client.

      If you back up data through an intermediate host, replace localhost with the IP address of the server or virtual machine from which you want to back up data.

      Port 8011 is the default port that you can use to log on to a file backup client. If port 8011 on the server or virtual machine is occupied by another application, specify another port number for the file backup client. For more information, see How can I change the number of the logon port for a file backup client?

What to do next

Back up SAP HANA databases

Back up SQL Server databases

Back up MySQL databases

Back up MongoDB databases