This topic describes how to use Hybrid Backup Recovery (HBR) to back up files in an on-premises NAS file system.

Prerequisites

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

Create a backup plan

The first time you create a backup plan, we recommend that you use NAS Backup Wizard to perform a complete backup. Supported NAS types include Isilon (PowerScale) and other NAS types. In this topic, a backup plan for an Isilon NAS file system is created.

  1. Log on to the HBR console.
  2. In the left-side navigation pane, choose Backup > NAS Backup.
  3. On the NAS Backup page, click Local NAS.
  4. On the Local NAS tab, click NAS Backup Wizard in the upper-right corner.
    1. Add a NAS file system and click Next.
      1. In the Backup Source NAS step of the Create Backup Plan panel, set Backup NAS File System to Add NAS File System.

        You can also select an existing NAS file system.

      2. The following table describes the basic parameters.
        Parameter Description
        NAS Type The type of the NAS file system. Valid values:
        • Isilon (PowerScale): Isilon NAS file systems
        • Others: other NAS file systems
        NAS File System Name The name of the NAS file system that you want to back up.
        NAS Management Username The username of the account that is used to manage the NAS file system.
        NAS Management Password The password of the account.
        NAS Network Address The IP address of the NAS file system.
        NAS Management Port The port number of the NAS file system.
        NAS Share Path The path to the files that you want to back up. The path is relative to /ifs, for example, /myshare.

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

        Protocol Type The protocol type of the file system. Valid values: NFS and SMB. In this topic, the Protocol Type parameter is set to NFS.
      3. Optional. Click Advanced Settings and click +Set Mount Parameters.
        You can add multiple mount parameters when you mount a file system. The following table describes the mount parameters.
        Parameter Description
        vers Specifies the protocol version of the file system.
        • vers=3: uses NFSv3 to mount the file system.
        • vers=4: uses NFSv4 to mount the file system.
        nolock Specifies whether to enable file locking.
        proto Specifies the protocol that you want to use to mount the file system.
        rsize Specifies the size of each data block that a client can read from the file system.

        Recommended value: 1048576. Unit: bytes.

        wsize Specifies the size of each data block that a client can write to the file system.

        Recommended value: 1048576. Unit: bytes.

        hard Specifies that applications no longer access a file system when the file system is unavailable and access the file system again when the file system becomes available. We recommend that you enable the hard parameter.
        timeo Specifies the period of time for which the NFS client waits before the client retries to send a request. Unit: deciseconds (tenths of a second).

        Recommended value: 600 (60 seconds).

        retrans Specifies the number of retries after the NFS client fails to send a request.

        Recommended value: 2.

    2. Create a client group and click Next.
      If you want multiple HBR clients to concurrently run a backup job, you can add the clients to a backup client group. Set Backup Client Group to Create Backup Client Group. Specify Client Group Name and select the clients that you want to add to the client group.

      If you want to modify or delete the clients that are included in a client group, you can choose More > Edit Group in the Actions column on the NAS File Systems tab.

      For information about how to install an HBR client, see Download and activate an HBR client for Linux.

    3. Create a backup plan and click OK.
      1. The following table describes the basic parameters of the backup plan.
        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 vault in the Vault Name field. If you do not configure this parameter, a random name is specified for the backup vault.
        • Select Vault: If you select this option, select a backup vault from the Vault Name drop-down list.
        Notice 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
        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 simplify the resource and permission management of your Alibaba Cloud account. For more information, see Create a resource group

        Data Redundancy Type This parameter is required only if the Backup Vault parameter is set to Create Vault. This parameter specifies the type of data redundancy for the backup vault. The data redundancy mechanism improves data reliability of the backup vault.
        • Locally redundant storage

          If LRS is enabled, HBR stores the copies of each object on multiple devices of different facilities in the same zone. This way, HBR ensures data durability and availability even if hardware failures occur.

        • Zone-redundant storage

          If ZRS is enabled, HBR uses the multi-zone mechanism to distribute data across three zones within the same region. If a zone becomes unavailable, the data can still be accessed.

        For more information, see Storage vault types.

        Plan Name The name of the backup plan. If you do not configure this parameter, a random name is specified for the backup plan.
        Source Paths The path to the files that you want to back up. You can specify only one path. The path cannot contain wildcards (*).
        Backup Rule You can specify the following three backup rules:
        • Include All Files: All files in the source path are backed up.
        • Include Files or Exclude Files: You must enter the names of the files that you want to include or exclude in the Enter Paths field. HBR backs up files based on the specified rule.

          The file names that you enter in the Enter Paths field are subpaths relative to the source path. HBR matches the file names based on the following rules:

          • If a file name that is specified in the Enter Paths field starts with a forward slash (/), HBR combines the relative path and the source path into a complete path. Then, the files in the complete path are specified.

            Example 1: If the source path is /ifs/dataset and /subdir/data is entered in the Enter Paths field, files and directories in /ifs/dataset/subdir/data are specified.

            Example 2: If the source path is /ifs/dataset and /abc* is entered in the Enter Paths field, files and directories whose names are prefixed with abc in the /ifs/dataset/abc path are specified.

          • If a file name that is specified in the Enter Paths field does not start with a forward slash (/), HBR uses the name as a condition. All files and directories that match the condition in the source path are specified.

            Example 1: If the source path is /ifs/dataset and abc* is entered in the Enter Paths field, files and directories whose names are prefixed with abc in the /ifs/dataset path are specified.

            Example 2: If the source path is /ifs/dataset and abc is entered in the Enter Path field, files and directories whose names are abc in /ifs/dataset are specified.

        Start Time The time at which the backup plan starts. The time is accurate to seconds.
        Backup Interval The interval at which incremental backup is performed. Unit: hours, days, or weeks.
        Retention Policy The retention period of the backup data.
        • Limited: The backup data is stored for a specified period of time. Unit: days, weeks, months, or years.
        • Permanent: The backup data is permanently stored.
      2. Optional. Click Show Advanced Settings and set the parameters. The following table describes the parameters.
        Parameter Description
        Switch to full backup when incremental backup fails If you turn on this switch, an incremental backup is automatically converted to a full backup when the incremental backup fails. An incremental backup may fail because of the following reasons:
        • The backup rule that specifies files of the backup plan is modified.
        • Data that is last backed up to the backup vault expires.
        • The snapshot that was last created for the Isilon (PowerScale) instance is deleted.
        Archive Sub-task Slice Size You can add multiple HBR clients into a backup client group. Then, the clients can concurrently run a backup job. If you set this parameter, the number of files that are backed up by a client is greater than or equal to the value of this parameter.

      If you want to create more backup plans for the NAS file system, click Create Backup Plan in the Actions column on the NAS File Systems tab.

    After the backup plan is created, you can view the status of each backup job on the Backup Jobs tab.

What to do next

Restore files to a local NAS file system