This topic describes how to use Hybrid Backup Recovery (HBR) to back up the data of an Apsara File Storage NAS file system. After you back up the data, you can restore the data at the earliest opportunity if the data is lost or damaged.
Prerequisites
Background information
- Unless otherwise specified, NAS in this topic refers to Apsara File Storage NAS.
- HBR allows you to back up NFS and SMB file shares regardless of whether NAS file systems are mounted. HBR uses an efficient backup mechanism that scans files in NAS file systems. This eliminates the need to create snapshots for NAS file systems.
- NAS backup does not support the access control list (ACL) feature of NAS SMB files systems. For more information about the ACL feature, see Use the ACL feature of a NAS SMB file system.
- If you do not have the required permissions to back up an NAS SMB file system by using HBR, the backup operation fails. In this case, we recommend that you grant HBR the required permissions on an Elastic Compute Service (ECS) instance. For more information, see Grant HBR the permissions to read data from SMB file systems in NAS.
- You can also back up Apsara File Storage NAS file systems by using a backup client for ECS. For more information, see Overview.
Create a backup plan
To back up files in a NAS file system to a backup vault in the same region as the file system, perform the following steps:
Create a restore job
To restore backup data from a backup vault to a NAS file system in the same region as the backup vault, perform the following steps:
Create a remote mirror vault for the backup vault
A backup vault is a repository in which HBR stores backup data in the cloud. To implement disaster recovery, you can create a remote mirror vault for a backup vault and back up data from the backup vault to the mirror vault.
To back up data to a mirror vault, perform the following steps:
Restore data from a remote mirror vault
A backup vault is a repository in which HBR stores backup data in the cloud. To implement disaster recovery, you can restore data from a remote mirror vault to a NAS file system. Perform the following steps:
What to do next
In the upper-right corner of the NAS Backup page, click Manage Mounts. In the Manage Mounts panel, you can perform the following operations:
- View all the file systems for which you have created backup plans in the selected region: You can click a file system to view the information of the NAS file system. The information includes the protocol type and the number of mount targets.
- Unmount a file system: After you create a backup plan for a NAS file system, HBR creates a mount target for the file system. You cannot directly delete the mount target in the NAS console because it is created by using an internal service of Alibaba Cloud. If you want to delete a mount target, find the file system in the Manage Mounts panel and click Unmount in the Actions column. After the mount target is deleted, the backup jobs that are running fail. Before you delete the mount target, make sure that all backup plans are deleted and no backup jobs or restore jobs of the file system are running.