You can use the scheduled backup feature provided by Object Storage Service (OSS) to back up objects in a bucket to Hybrid Backup Recovery (HBR) on a regular basis. If an object is lost, you can restore the object from HBR.

Prerequisites

  • HBR is activated. You can go to the HBR product page to activate HBR.
  • HBR is authorized to read data from OSS. You can log on to the HBR console, click OSS Backup in the left-side navigation pane, and follow the on-screen instructions to authorize HBR to read data from OSS.

Pricing

When you use scheduled backup, you are charged the following fees:
  • Fees for access requests to OSS
    • Before each backup task starts, HBR uses the GetBucket (ListObjects) operation to obtain the list of the objects to back up. Each GetBucket (ListObjects) request can list up to 1,000 objects.
    • After the object list is obtained, HBR uses the HeadObject operation to obtain the metadata of the objects to back up. Each HeadObject request can obtain the metadata of one object.
    • HBR uses the GetObject operation to back up objects. Each GetObject request can back up one object.
    • HBR uses the GetBucket (ListObjects) operation to query the backup progress and verify the backups. Each GetBucket (ListObjects) request can verify up to 1,000 objects.

    For more information about the billing methods for OSS API requests, see API operation calling fees.

  • If you back up an Infrequent Access (IA) object, you are charged data retrieval fees. For more information about the billing methods, see Data processing fees.
  • You are charged for storage of backups in HBR vaults. For more information about the billing methods, see Billing methods and billable items.

Usage notes

  • Scheduled backup cannot be configured for buckets whose storage classes are Archive or Cold Archive.
  • The backup and restoration of symbolic links, Archive and Cold Archive objects, and the access control lists (ACLs) of objects are not supported.
  • The scheduled backup feature is supported only in the following regions: China (Hangzhou), China (Shanghai), China (Shenzhen), China (Beijing), China (Zhangjiakou), China (Hong Kong), Singapore (Singapore), Australia (Sydney), Indonesia (Jakarta), and US (Silicon Valley).

Method 1: Configure scheduled backup for an existing bucket

  1. Log on to the OSS console.
  2. In the left-side navigation pane, click Buckets. On the Buckets page, click the bucket for which you want to configure scheduled backup.
  3. In the left-side navigation pane, choose Files > Scheduled Backup.
  4. Click Source Bucket.
  5. Configure schedule backup.
    • Configure a free trial of schedule backup.
      HBR provides a 30-day free trial for scheduled backup. If you want to try the scheduled backup feature free of charge, configure the parameters in the Create Backup Plan panel as described in the following table.
      Parameter Description
      Source OSS Bucket The name of the current bucket.
      Plan Name Specify the name of the backup plan. The name can be up to 64 characters in length.

      If you leave this parameter empty, HBR generates a backup plan name based on the current time.

      Start Time Specify the start time of the backup plan.
      Pay After Trial Ends Specify whether to continue the backup plan after the free trial ends.
      • No: The backup plan automatically stops after the free trial period. The backups are deleted one week after the backup plan stops.
      • Yes: The backup plan continues after the free trial period. HBR charges storage fees for the backups.
      The preceding configuration creates a backup plan that backs up the objects once a day and retains the backups for one week.
    • Configure a paid backup plan.
      You can configure a paid backup plan to specify the backup interval, the objects to back up, and the number of days to retain backups.
      1. In the Create Backup Plan panel, click Show Advanced Settings.
      2. Click Switch to Paid Plan. Then, click Ok in the message that appears.
      3. Configure the parameters described in the following table.
        Parameter Description
        Source OSS Bucket The name of the current bucket.
        Plan Name Specify the name of the backup plan. The name can be up to 64 characters in length.

        If you leave this parameter empty, HBR generates a backup plan name based on the current time.

        Start Time Specify the start time of the backup plan.
        Source Path Specify the prefix of the objects that you want to back up. If you leave this parameter empty, all objects in the bucket are backed up.
        Backup Interval Specify the execution frequency of the backup task. Units: days or weeks.
        Retention Policy Specify the retention policy for the backups.
        • Limited: HBR retains the backups for the specified period of time and automatically deletes the backups after they expire.
        • Permanent: Backups are permanently stored.
        Retention Period Specify the retention period of the backups. Valid units: days, weeks, months, and years.

        This parameter can be configured only if you set Retention Policy to Limited.

        Backup Vault Specify the backup vault in which backups are stored.
        • Create Vault: If no vaults exist in HBR or you want to store the backups in a new vault, you can create a vault.
        • Select Vault: If vaults are created in HBR, you can select an existing vault to store the backups.
  6. Click OK.

Method 2: Configure scheduled backup when you create a bucket

  1. Log on to the OSS console.
  2. In the left-side navigation pane, click Buckets. On the Buckets page, click Create Bucket.
  3. In the Create Bucket panel, configure the parameters.
    Set Scheduled Backup to Enable. For more information about other parameters, see Create buckets.
  4. Click OK.
    After the bucket is created, a backup plan is automatically created to back up data once a day and retain the backups for one week. The backup plan has a free trial period of 30 days. You can choose Files > Scheduled Backup to view or modify the created plan.

References

You can create restore jobs to restore backups to OSS. For more information about how to create a restore job, see Create an OSS restore job.