All Products
Search
Document Center

Cloud Backup:Preparations

Last Updated:Oct 09, 2026

You can use Cloud Backup to back up data from a Network File System (NFS) file system provided by File Storage NAS and restore the data when needed. Before you begin, complete the following preparations.

Step 1: Create and assign the AliyunServiceRoleForHbrEcsBackup role

Before you use Cloud Backup to back up files from ECS, you must create the AliyunServiceRoleForHbrEcsBackup role and assign the role to Cloud Backup. To create and assign the role, perform the following steps:

  1. Log on to the Cloud Backup console.

  2. In the left-side navigation pane, choose Backup > ECS File Backup.

    In the dialog box that appears, create and assign the role as prompted.

  3. In the Hybrid Cloud Backup Service Authorization dialog box, click Confirm Authorization.

    For more information, see Service-linked roles.

Step 2: Install Cloud Assistant

A Cloud Backup client for ECS must be used together with Cloud Assistant.

  • If the ECS instance that you need to back up was purchased before December 1, 2017, you must install Cloud Assistant Agent. For more information, see Install the Cloud Assistant agent.

  • If the ECS instance that you need to back up was purchased on or after December 1, 2017, Cloud Assistant Agent is pre-installed.

Step 3: Add a mount target

In the File Storage NAS console, add a Virtual Private Cloud (VPC) mount target to your NAS file system. For more information, see Add a mount target.

After you add the mount target, click Manage next to the file system. On the Mount and Use tab, you can view the path of the mount target.

Step 4: Create an ECS instance

Create an ECS instance in the same VPC as the NAS mount target. For more information, see Create an instance using the wizard. This example uses a CentOS instance:

Step 5: Mount the NFS NAS file system on the ECS instance

Follow these steps to mount the NFS file system:

  1. This example uses a CentOS operating system. Run the sudo yum install nfs-utils command to install the NFS client. For more information about how to install an NFS client in Linux, see Mount an NFS file system on a Linux system.

  2. After you install the NFS client, mount the NFS file system. For more information, see Mount an NFS file system on a Linux system.

What to do next

Back up NAS files