This topic describes how to use Hybrid Backup Recovery (HBR) to back up on-premises files.

Prerequisites

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

Create a backup plan

Note After you create a backup plan, the first backup job performs a full backup and subsequent backup jobs perform incremental backups.
  1. Log on to the HBR console.
  2. In the left-side navigation pane, choose Backup > On-Premises File Backup.
  3. In the top navigation bar, select a region.
  4. Select file backup as the backup type.
    • If you use a backup client of an earlier version, click Old on the On-Premises File Backup page.
    • If you use a backup client of the latest version, click New on the On-Premises File Backup page.
  5. Find the backup client that you want to use, and click Back Up in the Actions column.
  6. In the Create Backup Plan panel, configure the parameters and click OK. The following table describes the parameters.
    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.

    Source Encryption Type 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.
    • HBR-managed (default value): You can use the default encryption method of HBR.
    • KMS: You can use Key Management Service (KMS) to encrypt data that is stored in the backup vault. If you select this option, you must specify the KMS KeyId parameter.
    Notice
    • 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.
    Basic Settings
    Plan Name The name of the backup plan. If you do not configure this parameter, a random name is specified for the backup plan.
    Backup Rules Select All Folders or Specified Folders.
    • If you select All Folders, you must turn on or off Exclude System Folders.
      • If you turn on Exclude System Folders, the system folders of Windows and Linux Elastic Compute Service (ECS) instances are not backed up.

        You can move the pointer over the 1 icon to the right of Exclude System Folders to view the system folders in Windows and Linux.

      • If you turn off Exclude System Folders, all folders of the ECS instances are backed up.
    • If you select Specified Folders, you must enter the names of system folders in the Source Paths field.

      You must specify backup paths based on the following rules:

      • If you do not use wildcards (*), you can enter up to eight backup paths.
      • If you use wildcards (*), you can enter only one path. You must specify the backup path in the /*/* format.
      • Only absolute paths are supported, such as paths that start with /, \\, C:\, or D:\.
      • If you use Volume Shadow Copy Service (VSS), you can enter only one path. Universal Naming Conversion (UNC) paths and wildcards (*) are not supported. You cannot exclude files from the backup plan.
      • If you use UNC, VSS paths and wildcards (*) are not supported. You cannot exclude files from the backup plan. If a UNC path is specified, HBR does not back up the access control list (ACL) of Windows.
    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 Specified Type, you must select the types of the files you want to back up from the Select File Type drop-down list.

    Advanced Rule Mode
    Source Paths This parameter is required only if you turn on Advanced Rule Mode. You can specify custom backup paths.

    You must specify backup paths based on the following rules:

    • If you do not use wildcards (*), you can enter up to eight backup paths.
    • If you use wildcards (*), you can enter only one path. You must specify the backup path in the /*/* format.
    • Only absolute paths are supported, such as paths that start with /, \\, C:\, or D:\.
    • If you use Volume Shadow Copy Service (VSS), you can enter only one path. Universal Naming Conversion (UNC) paths and wildcards (*) are not supported. You cannot exclude files from the backup plan.
    • If you use UNC, VSS paths and wildcards (*) are not supported. You cannot exclude files from the backup plan. If a UNC path is specified, HBR does not back up the access control list (ACL) of Windows.
    Backup Rule This parameter is required only if you turn on Advanced Rule Mode.
    • Include All Files: All files are backed up.
    • Include Files or Exclude Files: In the text box, enter the paths of the folders and files that you want to back up.
    Time Settings
    Start Time The time at which the backup starts. The time is accurate to seconds.
    Backup Interval The interval at which HBR performs incremental backups. Units: 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 The retention period of the backup data. Unit: days, weeks, months, or years.
    Use VSS Specify whether to use Windows VSS to define a backup path.
    Note If you use VSS, you cannot back up files from multiple paths or UNC paths. You cannot use wildcards (*) or exclude files.
    Enable Traffic Shaping Specify whether to enable traffic shaping. You can limit the bandwidth used for data backup during peak hours to ensure business continuity.

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

What to do next

  • Use HTTPS to transmit data

    If you use HTTPS to transmit data, the performance of data transmission is compromised. If you modify the setting of this parameter, the modification takes effect on the next backup or restore job.

    After data is encrypted and stored in the backup vault, you can choose More > Client Settings in the Actions columns and specify whether to use HTTPS to transmit data.

  • Configure a backup alert policy

    You can choose More > Alert Settings in the Action columns and then select a backup alert policy. The following table describes the alert policies.

    Alert policy Description
    Disabled The backup client does not send alert notifications.
    Same as Backup Vault The backup client sends alert notifications in the same way as the backup vault.
    Notify Alibaba Cloud Account The backup client sends alert notifications to the owner of the Alibaba Cloud account by using emails.
    Custom If you select this option, you must select one or more contacts or contact groups. Then, the backup client sends alert notifications to the selected contacts and contact groups.
  • Delete a backup

    If you delete a backup, all backup data generated by the backup client is deleted and all backup and restore jobs that are being performed by the client fail. Before you delete a backup client, make sure that the backup data generated by the backup client is no longer required. In addition, make sure that no backup or restore jobs are being performed by the backup client.

    You can choose More > Delete Backup in the Actions column and then click OK to delete the backup data that is no longer required.

What to do next

Restore files