Back up NAS files mounted on Elastic Compute Service (ECS) instances with Cloud Backup. If files are lost or corrupted, restore them from a backup. This topic covers Server Message Block (SMB) file systems backed up through the ECS file backup client.
Prerequisites
Before you begin, make sure that you have:
-
Completed the preparations
-
Installed the ECS file backup client on your ECS instance
Limitations
-
NAS does not support Volume Shadow Copy Service (VSS).
-
The Use VSS option is available only for Windows. When enabled, it does not support multiple paths, UNC paths, wildcards, or file exclusion.
Create a backup plan
Log on to the Cloud Backup console.
-
In the left navigation pane, choose .
In the top navigation bar, select a region.
-
On the ECS Instances tab, find the target ECS instance and click Back Up.
-
On the Create Backup Plan page, configure the following settings and click OK.
Vault settings
Parameter
Description
Backup Vault
Select an existing backup vault or create a new one. If you create a vault without specifying a name, a random name is assigned.
Vault Name
Enter a name for the backup vault.
Vault Resource Group
Required only when creating a new vault. Specify a resource group to organize and manage resources within your Alibaba Cloud account. For more information, see Create a resource group.
Vault Encryption Method
Required only when creating a new vault. Select an encryption method: Cloud Backup-managed (default) uses the built-in encryption provided by Cloud Backup. KMS uses a customer master key (CMK) from Key Management Service (KMS) to encrypt data. Specify the KMS KeyId when selecting this option.
ImportantBackup vaults incur charges after creation, even if they contain no backup data. For more information, see Billing methods and billable items.
ImportantFor maximum data redundancy, Cloud Backup defaults to zone-redundant storage (ZRS) in supported regions. In other regions, it uses locally redundant storage (LRS). The storage type is selected automatically.
ImportantAfter you enable KMS encryption, the KMS key cannot be changed. Create a key in the KMS console before selecting this option. For more information, see Create a key.
Backup source settings
Parameter
Description
Plan Name
Optional. Enter a name for the backup plan. If left blank, a random name is assigned.
Backup Folder Rule
Select All Folders or Specified Folders. For NAS backups, select Specified Folders and enter the shared directory path. Example:
\\0a80****-ijy70.cn-hangzhou.nas.aliyuncs.com\myshare. The path supports Chinese characters, letters, digits, and the following special characters:,-_=/.:\Exclude System Folders
Enable this option to skip system folders during backup.
Backup File Type
Select All Types to back up all file types. Select Specified Type and choose file types from the Select File Type box to back up specific types only.
Schedule settings
Parameter
Description
Start Time
Set the backup start time. The time is accurate to the second.
Backup Interval
Set the frequency for incremental backups. Units: hours, days, or weeks.
Retention Policy
Select Limited or Permanent. Limited requires a Retention Period. Permanent stores backups indefinitely.
Retention Period
Required only when Retention Policy is set to Limited. Set the retention duration. Units: days, weeks, months, or years.
Advanced settings
Parameter
Description
Use VSS
Windows only. Enable this option to use VSS for backups. Multiple paths, UNC paths, wildcards, and file exclusion are not supported when VSS is enabled. NAS does not support VSS.
Enable Bandwidth Throttling
Control backup traffic during peak hours to avoid affecting your services. Specify a Time Range and a Maximum Bandwidth, then click Add.
Run the backup plan
After creating the backup plan, it appears on the Backup Plans tab.
-
Go to the Backup Plans tab.
-
Click Run Now to start the backup immediately.
-
Go to the Backup Jobs tab to view the backup progress.
The task list shows only backup jobs from the last six months. To view older data, export it from the Reports page.