You can use Hybrid Backup Recovery (HBR) to archive the files of an on-premises NAS file system. You can search for and retrieve the files based on your business requirements. This topic describes how to prepare for a data archive.

Background information

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

Create 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 associated with an Alibaba Cloud account and grant different 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 your account are exposed to security risks. To activate HBR clients, we recommend that you use the AccessKey pair of a RAM. 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 Linux

  1. Log on to the HBR console.
  2. In the left-side navigation pane, click Archive.
  3. In the top navigation bar, select a region.
  4. In the upper-right corner of the Archive page, click Add Client.
  5. In the Add Client panel, select an activation method.
    Record the activation code. The activation code is used to install and activate the client.
  6. Download and decompress the HBR client for Linux.
    You can download the installation package of the HBR client for Linux (64bit) or Linux (32bit)
  7. Manually or automatically activate the HBR client for Linux.

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

    • Manually activate the HBR client for Linux.

      In the path to which the HBR client is decompressed, run the ./setup -t local -k 05MUE877 command to activate the HBR client for Linux.

    • Automatically activate the HBR client for Linux.

      In the Add Client panel, click Auto Active (Linux Only) and copy one of the commands based on your network. Then, paste and run the command that you copied on the Linux server to activate the HBR client for Linux.

      jietu

      Run the following commands to install the nfs tool that is used to back up and restore NAS file systems on the HBR client:

      • Centos
        sudo yum install nfs-utils
      • Ubuntu
        sudo apt-get install nfs-common

Download and activate an HBR client for Windows

  1. Log on to the HBR console.
  2. In the left-side navigation pane, click Archive.
  3. In the upper-right corner of the Archive page, click Add Client.
  4. In the Add Client panel, click Manual Active.
    Record the activation code. The activation code is used to install and activate the HBR client.
  5. Download the HBR client for Windows.
    You can download the installation package of HBR client for Windows (64bit) or Windows (32bit).
  6. Install and activate the HBR client for Windows.
    1. Double-click the installation package of the HBR client and select the language that you want to use.
    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. Configure the logon identity.
      • If you want to back up or archive the files only from local paths, select Local System.
      • If you want to back up or archive network shared files, select This user. The user must meet the following requirements:
        • The user is granted the permissions of a local administrator.
        • The user is granted the permissions to log on to the Windows server as a service.
          To configure the logon user, perform the following steps:
          1. Open the Control Panel. In the window that appears, click Administrative Tools.
          2. Open Local Security Policy and choose Local Policies > User Rights Assignment.
          3. Turn on Logon as a service. In the dialog box that appears, add a user.
        • The user is granted the permissions to access shared files over the network.
    5. If you want to use a proxy server, enter the IP address of the proxy server. Click Next.
    6. Enter the activation code that you recorded in Step 4 in the Activation token field. Then, click Next.
    7. Click Install.
      After you install the HBR client, the status of the HBR client is changed to Activated on the On-Premises Backup page.