All Products
Search
Document Center

Cloud Backup:Back up NAS files

Last Updated:Sep 22, 2023

After you complete the preparations for file backup, you can use Cloud Backup to back up Apsara File Storage NAS files from Elastic Compute Service (ECS) instances. If the files are lost or damaged, you can restore these files by using Cloud Backup. This topic describes how to back up NAS files from an ECS instance.

Prerequisites

The preparations for file backup are completed. For more information, see Prepare for a data backup.

Create a backup plan

After the file backup client for ECS is installed, perform the following steps to create a backup plan:

  1. Log on to the Cloud Backup console.

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

  3. In the top navigation bar, select a region.

  4. On the ECS Instances tab, find the ECS instance that you created and click Back Up in the Actions column.

  5. In the Create Backup Plan panel, configure the parameters and click OK.

    Important

    Volume Shadow Copy Service (VSS) is not supported for NAS file backup.

    Parameter

    Description

    Backup Vault

    The backup vault to which you want to store the backup data. Valid values:

    • Create Vault: If you select this option, specify a name for the backup vault in the Vault Name field. If you do not configure this parameter, a random name is specified.

    • Select Vault: If you select this option, select a backup vault from the Vault Name drop-down list.

    Important

    After a backup vault is created, you are charged for the backup vault regardless of whether backup data is generated. For more information, see Billing methods and billable items.

    To maximize the redundancy of your backup data, Cloud Backup uses ZRS-enabled backup vaults by default in regions that support ZRS-enabled backup vaults. If only LRS-enabled backup vaults are available in the region where the backup vaults are located, Cloud Backup uses LRS-enabled backup vaults. You do not need to manually select a backup vault type.

    Vault Name

    The name of the backup vault.

    Vault Resource Group

    This parameter is required only if the Backup Vault parameter is set to Create Vault. This parameter specifies the resource group to which the backup vault belongs.

    You can use resource groups to manage resources owned by your Alibaba Cloud account. Resource groups help you simplify the resource and permission management of your Alibaba Cloud account. For more information, see Create a resource group.

    Backup Vault Encryption Method

    This parameter is required only if the Backup Vault parameter is set to Create Vault. This parameter specifies the method that is used to encrypt the data in the backup vault.

    • Cloud Backup-managed (default): You can use the default encryption method of Cloud Backup.

    • KMS: You can use Key Management Service (KMS) to encrypt the data that is stored in the backup vault. If you select this option, configure the KMS KeyId parameter.

    Important
    • If you enable KMS-based encryption, you cannot modify a KMS key.

    • Before you can use the KMS key to encrypt the data in the backup vault, you must create a key ID in the KMS console. For more information, see Create a CMK.

    Plan Name

    The name of the backup plan. If you do not configure this parameter, a random name is specified.

    Backup Folder Rule

    Select All Folders or Specified Folders. In this example, select Specified Folders and enter the shared directory of the NAS files that you want to back up, for example, \\0a80****-ijy70.cn-hangzhou.nas.aliyuncs.com\myshare.

    The directory path can contain letters, digits, and the following special characters: , - _ = / . : \.

    Exclude System Folders

    If you turn on Exclude System Folders, system folders are not backed up.

    Backup File Type

    Select All Types or Specified Type.

    If you select All Types, all types of files are backed up.

    If you select Specified Type, you must select the types of the files that you want to back up from the Select File Type drop-down list.

    Start Time

    The time at which the backup plan starts. The time is accurate to seconds.

    Backup Interval

    The interval at which Cloud Backup performs incremental backups. Unit: hours, days, or weeks.

    Retention Policy

    Select Limited or Permanent.

    If you select Limited, you must select the types of the files that you want to back up from the Select File Type drop-down list.

    If you select Permanent, backup files are permanently stored.

    Retention Period

    This parameter is required only if the Retention Policy parameter is set to Limited. This parameter specifies the retention period of backup data. Unit: days, weeks, months, or years.

    Use VSS

    This feature is available only for Windows. If you turn on Use VSS, VSS is used for file backup. In this case, you can enter only one path. UNC paths or wildcards (*) are not supported. You cannot exclude files from the backup plan.

    Enable Traffic Shaping

    To ensure business continuity, you can limit the bandwidth that is used for file backup during peak hours.

    If you enable traffic shaping, you must select Time Range (Hour) based on your requirements, specify Max Bandwidth (MB) for backup during the specified time range, and then click Add.

    After the backup plan is created, you can view the backup plan on the Backup Jobs tab.

  6. Click Run Now to immediately execute the backup plan.

    You can view the progress of backup jobs on the Backup Jobs tab.

What to do next

Restore NAS files