Extreme NAS is a high-performance shared file storage product built on Alibaba Cloud's latest-generation network architecture and all-flash storage. You can use Cloud Backup to protect your Extreme NAS file systems. Cloud Backup lets you configure flexible backup policies to back up data to the cloud. You can then view and restore the data at any time.
You cannot back up Extreme NAS file systems using the Alibaba Cloud NAS backup method. You must use the local NAS backup method.
Use a dedicated ECS instance for backup jobs to avoid affecting your business services. For information about the costs of creating an ECS instance, see ECS instance type billing.
Prerequisites
You have activated the Alibaba Cloud Cloud Backup service. Activating Cloud Backup is free of charge. However, using the Alibaba Cloud NAS backup feature of Cloud Backup incurs charges such as storage capacity fees. For more information, see Billing for Alibaba Cloud NAS backups.
You have created an Extreme NAS file system. For more information, see Create an Extreme NAS file system in the console (NFS only).
You have created an ECS instance. The ECS instance must be in the same VPC as the mount target of the Extreme NAS file system. For more information, see Create an ECS instance from the console (Quick Launch).
Create a backup job
Step 1: Install a backup client
Before you back up data, you must install a backup client on the ECS instance. For more information, see Download and activate a Linux client.
(Optional) Step 2: Configure the backup client
You can improve backup performance by tuning the client concurrency parameters.
Log on to the ECS instance.
Set the number of concurrent tasks for the local client to 2. The recommended maximum is 8. A larger value consumes more resources, so adjust the value based on your requirements.
A backup job can be split into multiple tasks. You can use the configclustertaskfetchernum parameter to configure the number of tasks that can run concurrently on the client.
The default value of the configclustertaskfetchernum parameter is 1.
In the hbrclient.yaml file, set the configclustertaskfetchernum parameter to 2. The recommended maximum value is 8.
configclustertaskfetchernum: 2NoteOn Linux, the path to the hbrclient.yaml file is /opt/alibabacloud/hbrclient/conf.
Run the
systemctl restart hbrclientcommand to restart the Cloud Backup service.ImportantThis operation interrupts running backup jobs. Perform this operation only when no jobs are running.
Step 3: Back up the Extreme NAS file system
After you create a backup plan, the first backup job is a full backup. By default, subsequent jobs are incremental backups.
At the top of the NAS Backup - Local NAS page, select a region.
NoteIf you are using the previous version of the console, which has a Try New Version button in the upper-right corner, go to the Local NAS section, click the NAS Instance tab, and then click NAS Backup Wizard.
Add a local NAS data source.
On the Local NAS Data Source tab, click Create Data Source.
In the Create Data Source panel, configure the parameters as described in the following table.
Parameter
Description
NAS Instance Name
The name of the NAS instance that you want to back up.
NAS Network Address
The network address of the NAS instance that you want to back up. You can obtain the address from the mount target of the Extreme NAS file system. Example:
00005*****y.cn-hangzhou.extreme.nas.aliyuncs.com.NAS Share Path
Enter the shared directory of the NAS instance, such as
/share. For information about how to find the shared directory, see How to find the NAS shared directory.Protocol Type
Select NFS.
Advanced Settings
Click Set Mount Parameters, set the vers parameter to 3 (for NFSv3), and enable nolock to disable file locking.
Configure a backup client group and click OK.
For the Backup Client Group parameter, select Create Backup Client Group, specify a custom Client Group Name, and then select the ECS instance from Step 1: Install a backup client.
Change the data network of the client group to VPC.
Click Settings for the target client.
In the Client Settings dialog box, set Data Network to VPC and click OK.
Add a local NAS backup.
On the Protected Local NAS Data Sources tab, click Add Local NAS Backup.
In the Create Backup Plan panel, configure the backup plan parameters and click OK.
Configure the parameters in the Basic Settings section as described in the following table. Leave the other parameters at their default values.
Parameter
Description
Select Data Source
Select the Extreme NAS data source that you want to back up.
NoteThis parameter is available only in the new version of the console.
Source Paths
Enter the directory to back up. This path is relative to the shared directory. Only one directory is allowed, and wildcards are not supported. The maximum path length is 255 characters.
Backup Rule
The backup rule provides the following options:
Include All Files: Backs up all files in the specified source path.
Include Files or Exclude Files: Select an option and enter a list of paths in the Enter Paths field. Cloud Backup includes or excludes files in the source path based on the list.
The paths in the list are treated as subpaths relative to the source path. The matching rules are as follows:
If a subpath starts with a forward slash (/), the filter matches the absolute path within the source path.
For example, if the source path is /ifs/dataset and you specify /subdir/data in the list, Cloud Backup includes or excludes files and directories in /ifs/dataset/subdir/data.
For example, if the source path is /ifs/dataset and you specify /abc* in the list, Cloud Backup includes or excludes files or directories in the /ifs/dataset path whose names start with
abc.If a subpath does not start with a forward slash (/), the filter matches relative paths under the source path. Any subpath that matches the rule is processed.
For example, if the source path is /ifs/dataset and you specify abc* in the list, Cloud Backup includes or excludes files or directories under the /ifs/dataset path whose names start with
abc.For example, if the source path is /ifs/dataset and you specify abc in the list, Cloud Backup includes or excludes all files or directories named
abcunder the /ifs/dataset path.
NoteThese three backup rules are mutually exclusive. Only one rule can be in effect at a time.
Backup Policy
Select a backup policy from the drop-down list.
Cloud Backup automatically backs up the data source based on the selected backup policy. A backup policy defines settings such as backup vault encryption, backup interval, retention period, cross-region replication, and automatic backup archiving to help you manage your data flexibly.
If the default backup policy is unsuitable, click Create Backup Policy or Edit Policy to manage backup policies. For more information about the parameters in a backup policy, see Policy center.
After the backup plan is created, its Plan Status changes to Enabled. Cloud Backup then runs backup jobs based on the specified start time and interval.
Backup status
Backup status | Description |
Ready | The resource has been added to the list of protected resources and is waiting for the initial backup. |
Protecting | The backup status is normal. The system is waiting for the next backup job to run. |
Protecting (In Progress) | A backup job is in progress. |
Paused | To resume backups, go to the backup details page and enable a backup plan. |
Stopped | The source resource cannot be found, possibly because it was released. Backup data is automatically deleted after it expires. You can go to the backup history list on the backup details page to view the backup expiration time or restore data. |
What to do next
View backup jobs
After a backup plan is triggered, you can view the execution status of backup jobs in the task list.
The backup progress percentage is a dynamic estimate for reference only and may not be exact. Always refer to the final job status for definitive confirmation.
When the Status of a backup job is Succeeded, the job is complete.
The task list displays backup job records from the last six months only. To access older records, export them using Report Audit.
To stop a running job, click Cancel in the Actions column.
Create a restore job
The procedure for creating a restore job is the same as for restoring a local NAS file system.