You can back up files in the Apsara File Storage NAS console at regular intervals. You can also restore files if data is lost or damaged.

Back up files

Note 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 information about billing, see Billing methods and items.
  1. Log on to the NAS console.
  2. In the left-side navigation pane, choose Data Service > File Backup.
  3. On the File Backup page, click Get Started.
    Note If you use the file backup feature for the first time, you must activate Hybrid Backup Recovery(HBR) and grant service-linked roles (SLR) as prompted.
  4. In the Create Backup Plan pane, set the following parameters to create a backup plan, and then click OK.
    1. Set the parameters.
      Parameter Description
      File System Select the NAS file system whose files you want to back up.
      Plan Name Enter the name of the backup plan.
      Start Time Select the time when the backup plan starts. The time is accurate to seconds.
      Pay After Trial Ends Specify whether to pay for the backup plan after the free trial period ends.
    2. Optional:To configure a fine-grained backup plan, click Show Advanced Settings, and then click Pay After Trial Ends to enable advanced settings. For more information, see Billing methods and billable items.
      Parameter Description
      Source Paths Enter the path of the file that you want to back up.

      For example: /nas/folder, /indicates the root directory of the NAS file system.

      Backup Interval Set the frequency of incremental backups.

      Units: days and weeks.

      Retention Policy Select the retention policy of the backup data. Valid values: Limited or Permanent.
      Retention Period Select the period of time for which the backup is retained.

      If you set the Retention Policy parameter to Limited, you must specify the Retention Period parameter. Unit: days, weeks, months, or years.

      Backup Vault You can click Select Vault to retain the backup.

      If no backup vaults are available, set the value to Create Vault and specify the Vault Name parameter. The name must be 1 to 64 characters in length.

      Vault Name Enter the name of the backup vault.

      If you set the Backup Vault parameter to Create Vault, you must enter a vault name for the new backup vault.

  5. 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

  1. Log on to the NAS console.
  2. In the left-side navigation pane, choose Data Service > File Backup.
  3. On the File Backup page, click the Restore Jobs tab, and then click Create Restore Job.
  4. In the Create Restore Job panel, perform the following steps to set the parameters:
    1. Set the backup file parameters and then click Next.
      Parameter Description
      Source Vault Select the backup vault where the files that you want to restore reside.
      Source File System Select the file system where the files that you want to restore reside.
      Select a backup to restore Select the directory where the files that you want to restore reside.
    2. Select a restoration rule based on the actual restoration scenario and click Next.
    3. Select the origin file system or specify a file system, and click Next.
    4. Select the origin path or specify a path, and click Create.
      Note
      • On the Restore Jobs tab, you can view the statuses of the backup jobs, the data size of the backup files, and other details.
      • If the restoration destination is a newly specified file system, view the details of restoration jobs after you filter the file system in the File System column.

Related operations

Category Description
Operations related to backup plans
  • Modify a backup plan: You can reset the backup interval, retention policy, and source path of the backup plan based on your business requirements.
  • Delete a backup plan: If you no longer need a backup plan, you can delete it.
  • Suspend a backup plan: You can suspend a scheduled backup plan.
  • Resume a backup Plan: You can resume a suspended backup plan.
Operations related backup jobs
  • Query a backup job: You can query the details of all backup jobs in the past three months. The details include job status, data size, and progress.
  • Cancel a backup job: You can cancel a pending or running backup job. If you cancel the backup job, all the file backups of this job are removed from the backup vault. If you still need to back up these files, create another backup job.
Operations related to restoration jobs
  • Query a restoration job: You can query the status, data size, and progress of restoration jobs.
  • Cancel a restoration job: You can cancel a running restoration job. After you cancel a restoration job, the restored files of the job are saved in a specified directory. The remaining files of the job are no longer restored.

FAQ