You can back up files from a General-purpose NAS file system in the Apsara File Storage NAS console at regular intervals. You can also restore files if data is lost or damaged.
Prerequisites
- A file system is created. For more information, see Create a file system.
- Hybrid Backup Recovery (HBR) is activated and the AliyunServiceRoleForHbrNasBackup service-linked role is assigned to HBR.
If you use the file backup feature for the first time, you must activate HBR and assign the AliyunServiceRoleForHbrNasBackup service-linked role to HBR.
Background information
NAS can work with HBR. HBR uses an efficient backup mechanism that scans files in General-purpose NAS file systems. This eliminates the need to create snapshots for NAS file systems. You can configure backup policies to generate multiple replicas of data. If data is lost or damaged, you can use these replicas to restore files at the earliest opportunity.- You can back up General-purpose NFS and SMB file systems regardless of whether the file systems are mounted.
- HBR does not support the access control list (ACL) feature of 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 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 the HBR client the permissions to read data from an SMB file system in NAS.
- You can also use snapshots to back up Extreme NAS file systems. For more information, see Manage snapshots.
Billing
The first time you back up files in a NAS file system, you can create a free (30 day period) backup plan. When the trial period expires, you can renew or stop the backup plan. For more information, see Billing methods and billable items.
Back up files
- Log on to the NAS console.
- In the left-side navigation pane, choose .
- On the File Backup page, click Get Started.
- In the Create Backup Plan pane, configure the following parameters to create a backup plan, and then click OK.
- On the Backup Plans tab, find the created backup plan and click Get Started. Note
- On the Backup Jobs tab, you can view the statuses of the backup jobs, the data size of the backup files, and other details.
- If the statuses of the backup jobs are not updated for a long time, you can click the Refresh button in the upper-right corner of the page.
Restore files
- Log on to the NAS console.
- In the left-side navigation pane, choose .
- On the File Backup page, click the Restore Jobs tab, and then click Create Restore Job.
- In the Create Restore Job panel, perform the following steps:
Related operations
Category | Description |
---|---|
Operations related to backup plans |
|
Operations related backup jobs |
|
Operations related to restoration jobs |
|
Delete the mount target that is created by HBR | When you create a backup plan for a NAS file system, HBR automatically creates a mount target for the NAS 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. |