You can use Hybrid Backup Recovery (HBR) to back up objects Object Storage Service (OSS) from buckets, and restore the objects if they are lost or damaged.

Prerequisites

An OSS bucket whose storage class is Standard or Infrequent Access (IA) is created. For more information, see Create buckets.

Background information

Before you use HBR to back up OSS objects, take note of the following information:
  • HBR cannot back up or restore objects in Archive buckets. HBR cannot back up or restore symbolic links or object access control lists (ACLs).
  • You are charged higher fees for access to the objects in IA buckets than for access to the objects in Standard buckets.
  • You are charged for the OSS API operations that are called by HBR during the backup of OSS objects. For more information, see OSS billable items and billing methods.
  • If you delete an existing backup, the data integrity of other backups is not affected.

Procedure

To create a backup plan for an OSS bucket, perform the following steps:

  1. Log on to the HBR console.
  2. In the left-side navigation pane, choose Backup > OSS Backup.
  3. In the top navigation bar, select the region where the OSS bucket resides.
  4. On the Backup Plans tab, click Source Bucket.
  5. In the Create Backup Plan panel, set the parameters described in the following table and click OK.
    Note You can use each backup plan free of charge for one month, which starts from the day when the backup plan is created. For example, if you create a backup plan on February 14, 2020, you can use the backup plan free of charge until March 14, 2020.
    1. The following table describes the parameters in the basic settings of the backup plan.
      Parameter Description
      Source OSS Bucket The name of the OSS bucket that you want to back up. Select an OSS bucket from the drop-down list.
      Plan Name The name of the backup plan. By default, a random name is used.
      Start Time The time at which the backup plan starts. The time is accurate to seconds.
      Pay After Trial Ends Specifies whether to pay for the backup plan after the free trial period. Valid values:
      • No (default value): The backup plan is not renewed after the free trial for the backup plan ends. If you select this option, the backup plan is deleted after the free trial period.
      • Yes: The backup plan is automatically renewed after the free trial period.
    2. To configure advanced settings, click Show Advanced Settings, click Switch to Paid Plan, and then set the parameters to enable the advanced settings. The following table describes the parameters.
      Parameter Description
      Source Path The prefix in the names of the objects that you want to back up from the OSS bucket. By default, no prefix is specified and all objects in the root directory of the OSS bucket are backed up.
      Backup Interval The interval at which incremental backup is performed. By default, the backup interval is one day. Unit: minutes, hours, days, or weeks.
      Retention Policy The retention policy of the backup data. Valid values:
      • Limited (default value): Backup data is retained for a specified period of time. If you select Limited, you must set the Retention Period parameter.
      • Permanent: The backup data is permanently retained.
      Retention Period This parameter is required only if the Retention Policy parameter is set to Limited. This parameter specifies the period of time for which the backup data is retained. Default value: 2 (years). Unit: days, weeks, months, or years.
      Backup Vault The backup vault to which you want to store the backup data. Valid values:
      • Create Vault (default value): If you select this option, specify a name for the vault in the Vault Name field. By default, a random name is used.
      • Select Vault: If you select this option, select a backup vault from the Vault Name drop-down list.
      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.

      Resource groups allow you to sort the resources of your Alibaba Cloud account for easier resource and permission management. For more information, see Create a resource group.

      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.
      Notice If you select KMS, you cannot delete or disable the KMS key.
      KMS KeyId This parameter is required only if the Source Encryption Type parameter is set to KMS. This parameter specifies the ID of the KMS key that you can use to encrypt the data in the backup vault.
      Note Before you can use the KMS key to encrypt the data in the backup vault, you must create the key ID in the KMS console. For more information, see Create a CMK.
    3. Specify whether to use the OSS inventory feature to back up data from OSS buckets.
      Parameter Description
      Use OSS Inventory Specifies whether to enable the OSS inventory feature to back up data from OSS buckets. Default value: No. If you need to back up a large amount of data from an OSS bucket, we recommend that you enable the OSS inventory feature. For more information, see Use an OSS inventory list to create a backup plan for a large amount of OSS data.
    After the backup plan is created, HBR runs backup jobs based on the backup plan.

What to do next

On the Backup Plans tab, you can perform the following operations in the Actions column.
Operation Description
Run Now Immediately runs a backup job.
Modify Modifies the parameters of an OSS backup job if the backup job does not meet your business requirements.
Backups You can view all the backup record of the file system or its backup history in the recent three months.
Suspend Plan Suspends a backup job that is running.
Resume Plan Resumes a backup job that is suspended.
Delete Plan Deletes a backup job that is running. After you delete a backup plan, HBR no longer runs the plan. The data that is backed up is retained.
Alert Settings If the backup job fails or the client is disconnected from the server, HBR sends an alert notification by default. For more information, see Configure alert notifications.

What to do next

Create an OSS restore job