You can use HBR to back up NFS NAS files and restore them when necessary. This topic describes the preparations that you need to make before backing up data.

Authorize roles

When using Hybrid Backup Recovery (HBR) to back up files from ECS instances, you must authorize two roles: AliyunHBRDefaultRole and AliyunECSAccessingHBRRole. After the authorization, HBR and ECS are accessible by each other. Proceed as follows:
  1. Log on to the HBR console.
  2. Choose ECS Backup > ECS File Backup.
  3. Authorization pages appear one by one, which require you to confirm the authorization of these roles.

Install Cloud Assistant

An ECS backup client must work with Cloud Assistant. By default, Cloud Assistant clients are installed on ECS instances that are created after December 1, 2017. To back up ECS instances that you bought before December 1, 2017, you must install the Cloud Assistant client.

Add a mount point

In the NAS console, add a VPC-type mount point for the created NFS NAS file system. For more information about how to add a VPC-type mount point, see Create a mount point.

After adding the mount point, click Manage next to the file system in the Action column. On the File System Details page that appears, check the mount point path.

Create an ECS instance

Create an ECS instance in the VPC where the mount point for the NAS file system resides. The CentOS operating system is used in this example. For more information, see Create an instance by using the wizard.



Mount the NFS NAS file system to the ECS instance

The procedure is as follows:
  1. Run the sudo yum install nfs-utils command to install the NFS client. The CentOS operating system is used in this example. For more information about how to install the NFS client in another Linux operating system, see Step 1: Install an NFS client.
  2. After installing the NFS client, mount the NFS file system. For more information, see Mount an NFS file system in Linux.