Install a backup client

更新时间:
复制 MD 格式

Before you back up or recover files on an on-premises NAS instance using Cloud Backup, you must install a backup client.

Notes

  • For the best backup speed, run the backup client on a machine that has a dual-core or higher 64-bit CPU and more than 8 GB of available memory.

  • The volume of data that you can back up depends on memory resources. With 4 GB of available system memory, you can back up a maximum of 1 million files, with a total data volume of 8 TB. If a directory contains tens of millions of files or more, use a machine with 16 GB of available memory.

  • The installation package of the 64-bit Cloud Backup client does not support the ARM64 architecture.

  • Before you install, uninstall, or delete the client, check the client installation directory and its subdirectories for mounted NAS directories or other important files to prevent accidental deletion.

    • If a NAS directory is mounted to the installation path, run the `umount` command to unmount the NAS directory. This prevents accidental deletion of NAS files.

    • If other important directories and files exist in the installation path, move them to another directory to prevent accidental deletion.

  • Before you use Cloud Backup, review its limits, backup and recovery speeds, features, and supported regions. For more information, see Limits, Backup and recovery speeds, Features, and Features by region.

Download and activate the Windows client

  1. At the top of the NAS Backup - On-premises NAS page, select a region.

  2. On the On-premises NAS Data Source tab, click Add Client.

    Note

    If you use the Legacy Console (Try New Version is displayed in the upper-right corner), click Add Client on the NAS Instance tab.

  3. Download the Windows client.

    In the Add Client panel, click the image icon to download the Windows (64bit) client installation package to your local machine. Record the activation token. You will need the token to install and activate the client.

    image

  4. Install and activate the Windows client.

    1. Double-click the client installation package and select a language for the installation.

    2. Select an installation location, and then click Next.

    3. Select the Local File Backup Client component, and then click Next.

      For more information about how to select a component, see How do I select components and accounts when I install a client?.

    4. Configure the service logon identity.

      An on-premises NAS is a network-shared file system. To back up or archive network-shared files, select This account. The account must meet the following requirements:

      • Has local administrative permissions.

      • Has the permission to log on as a service.

        The configuration steps are as follows:

        1. Open Control Panel and click Administrative Tools.

        2. Open Local Security Policy and select Local Policies > User Rights Assignment.

        3. Open Log on as a service. In the dialog box that appears, add the user.

      • Has permission to access network-shared files.

      For more information about account configuration, see How do I select components and accounts when I install a client?.

    5. If you use a proxy server, enter the proxy server address and click Next.

    6. Enter the Activation Token that you recorded, and then click Next.

    7. Click Install.

      After the client is installed, it appears in the client list. You can also manage on-premises NAS data sources and manage client groups as needed.

  5. (Optional) To increase the speed of backup task execution, you can configure backup client parameters. The main steps are as follows:

    1. Log in to the ECS instance.

    2. Set the task concurrency for the local client to 2. A value of 8 or less is recommended because higher values consume more resources.

      A backup job can be split into multiple sub-tasks. You can use the configclustertaskfetchernum parameter to configure the number of sub-tasks that can run concurrently on the client.

      The default value for the configclustertaskfetchernum parameter is 1.

      In the hbrclient.yaml file, set the configclustertaskfetchernum parameter to 2. The recommended value is 8 or less.

      configclustertaskfetchernum: 2
      Note

      On Linux, the hbrclient.yaml file is located in the /opt/alibabacloud/hbrclient/conf directory.

    3. Restart the Cloud Backup service. Restarting the service affects running tasks. We recommend that you restart the service during off-peak hours.

      Open the command-line interface (CLI), enter services.msc to open the Services console, find the Cloud Backup service, and then restart the service.Backup service

Download and activate the Linux client

  1. At the top of the NAS Backup - On-premises NAS page, select a region.

  2. On the On-premises NAS Data Source tab, click Add Client.

    Note

    If you use the Legacy Console (Try New Version is displayed in the upper-right corner), click Add Client on the NAS Instance tab.

  3. Run a command to automatically activate the Linux client.

    Based on your network type, select Internet, VPN, or Leased Line. Copy the command and run it on the client to download and activate the Linux client.image

    After the client is installed, it appears in the client list. You can also manage on-premises NAS data sources and manage client groups as needed.

  4. Run the following commands to install the tools required to back up and recover on-premises NAS instances.

    The NFS and SMB file protocols are supported. Install the required tools based on the file system protocol of your NAS.

    NFS tools

    • CentOS

      sudo yum install nfs-utils
    • Ubuntu

      sudo apt-get install nfs-common

    SMB tools

    • CentOS

      sudo yum install cifs-utils
    • Ubuntu

      sudo apt-get install cifs-utils
    • openSUSE

      sudo zypper install cifs-utils
  5. (Optional) To increase the speed of backup task execution, you can configure backup client parameters. The main steps are as follows:

    1. Log on to the ECS instance.

    2. Change the maximum number of concurrent tasks on the Cloud Backup client to 2. We recommend that you set the value to 8 or smaller. The larger the value, the more resources are consumed. We recommend that you set a reasonable value.

      A backup job may be divided into multiple tasks. You can use the configclustertaskfetchernum parameter to specify the maximum number of tasks that are concurrently executed on the Cloud Backup client.

      The default value of the configclustertaskfetchernum parameter is 1.

      Set the value of the configclustertaskfetchernum parameter in the hbrclient.yaml file to 2. We recommend that you do not set the parameter to a value greater than 8.

      configclustertaskfetchernum: 2
      Note

      On Linux, the hbrclient.yaml file is located at the following path: /opt/alibabacloud/hbrclient/conf.

    3. Restart the Cloud Backup service. Note that running tasks are affected if you restart the Cloud Backup service.

      Run the systemctl restart hbrclient command to restart the Cloud Backup service.

What to do next

Back up on-premises NAS files