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

Prerequisites

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

Background information

Before you use HBR to protect OSS objects, note 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).
  • The expense for accessing objects in IA buckets is higher than that for accessing objects in Standard buckets.
  • You are charged for OSS API operations that HBR calls during the backup of OSS objects. For more information, see Overview.

Step 1: Create a backup plan

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 OSS Bucket column, select the bucket.
  4. In the upper-right corner of the Backup Plans tab, click Create Backup Plan.
  5. In the Create Backup Plan pane, set the parameters and click OK.
    Note You can enjoy the free trial of each backup plan for two months, starting from the day when the backup plan is created. For example, if you create a backup plan on February 14, 2020, the backup plan is free of charge until April 14, 2020.
    backup plan
    1. The following table describes the basic settings of the backup plan.
      Parameter Description
      Plan Name The name of the backup plan. By default, a random name is used.
      Start Time The start time of the backup plan. The time is accurate to seconds.
      Pay After Trial Ends Specifies whether to pay for the backup plan after its free trial ends.
    2. The following table describes the advanced settings of the backup plan. If you want to specify the advanced settings, click Show Advanced Settings and click Switch to Paid Plan.
      Parameter Description
      Backup Interval The interval at which data backup is performed. Unit: days or weeks.
      Retention Policy The retention policy of the backup data. You can select Limited or Permanent.

      If you select Limited, you must set the Retention Period parameter.

      Retention Period The retention period of the backup data. Unit: days, weeks, months, or years.
      Backup Vault The backup vault where you want to store the backup data. You can select or create only a backup vault in the current region.
      • If you select Create Vault, specify the Vault Name field. By default, a random name is used.
      • If you select Select Vault, select a backup vault from the Vault Name drop-down list.
      Source Path The path to the folder that you want to back up. By default, the entire OSS bucket is backed up.

      After the backup plan is created, HBR runs backup jobs based on the backup plan. You can perform the following operations on the Backup Plans tab:

      • To start a backup job, find the backup plan and click Run Immediately in the Actions column.
      • To pause a running backup job, find the backup plan and choose More > Suspend Plan in the Actions column. To resume a paused backup job, find the backup plan and choose More > Resume Plan in the Actions column.
      • To delete the backup plan, find the plan and choose More > Delete Plan in the Actions column. After you delete the backup plan, HBR no longer runs backup jobs for the plan but the backup data is retained.

Step 2: Create a restore job

To restore backup data to the source OSS bucket or a different OSS bucket, perform the following steps:

  1. In the upper-right corner of the Restore Jobs tab, click Create Restore Job.
  2. In the Create Restore Job pane, select the backup vault and the source OSS bucket. Select a backup that you want to restore. You can click Recent 3 Months or All to view the corresponding backups. Then, click Next.
  3. In the Select Backup Files step, configure a restore policy and click Next.

    The following restore policies are supported:

    • Include All Files: HBR restores all objects that are backed up from the source OSS bucket.
    • Include Specified Files or Exclude Specified Files: In the text box, enter the paths to the folders and files that you want to restore. HBR restores files that are backed up from the source OSS bucket based on the restore policy.
    In the text box, enter one path in each line and start each path with the source folder.
    • If the source path is C:\Windows\ABC and you want to restore folder and folder\file.txt in the ABC folder, enter the following paths:
      a/b/folder
      a/b/file.txt
    • If no source path is specified, enter the following paths:
      folder
      file.txt
  4. In the Configure Destination step, select a bucket from the Destination OSS Bucket drop-down list and enter the path to the destination folder in the Destination Path field. If you do not specify the destination path, the backup data is restored to the root folder of the destination OSS bucket.
    task
  5. Click Create.
    After the restore job is created, you can view the progress of the job in the Status column on the Restore Jobs tab.