All Products
Search
Document Center

Object Storage Service:Configure scheduled backup

Last Updated:Aug 30, 2023

You can use the scheduled backup feature provided by Object Storage Service (OSS) to periodically back up objects in a bucket to Hybrid Backup Recovery (HBR). 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. If HBR is not authorized to read data from OSS, perform the following steps to complete the authorization: Log on to the HBR console, click OSS Backup in the left-side navigation pane, and then follow the on-screen instructions to authorize HBR to read data from OSS.

Billing

When you use the scheduled backup feature, you are charged the following fees:

  • Fees for access requests to OSS

    • Before each backup task starts, HBR uses the ListObject operation to obtain the list of objects to back up. Each ListObject 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 ListObject operation to query the backup progress and verify the objects that are backed up. Each ListObject request can verify up to 1,000 objects.

    For more information about billing of 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, see Data processing fees.

  • You are charged for the storage of backups in HBR vaults. For more information about the billing methods, see Billing methods and billable items.

Limits

  • Scheduled backup is not supported for IA, Archive, Cold Archive, and Deep Cold Archive buckets.

  • Scheduled backup does not support symbolic links, object access control lists (ACLs), and objects stored in Archive, Cold Archive, and Deep Cold Archive.

  • The scheduled backup feature is supported in the following regions: China (Hangzhou), China (Shanghai), China (Shenzhen), China (Beijing), China (Zhangjiakou), China (Hong Kong), Singapore, Australia (Sydney), Indonesia (Jakarta), and US (Silicon Valley).

Use the OSS console

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, find and click the desired bucket.

  3. In the left-side navigation tree, choose Data Management > Scheduled Backup.

  4. In the Scheduled Backup panel, create a backup plan.

    Create a free backup plan

    HBR provides a 30-day free trial of the scheduled backup feature.

    Important

    A free backup plan does not allow you to change Source Path and Backup Interval. Each free backup plan uses an independent backup vault, and the vault cannot be changed even if you pay for the plan after the free trial expires. If you want to back up all data to the same backup vault, do not use a free backup plan.

    1. In the Create Backup Plan panel, retain the default settings.

    2. Click OK.

    Create a paid backup plan

    You can configure a paid backup plan to specify the backup interval, the objects that you want to back up, and the number of days for which you want to retain backups.

    1. In the Create Backup Plan panel, click Switch to Paid Plan.

    2. In the message that appears, click OK.

    3. In the Create Backup Plan panel, configure the parameters. The following table describes the parameters.

    4. Parameter

      Description

      Source Path

      The prefix in the names of the objects that you want to back up from the OSS bucket. If you do not specify this parameter, all objects in the OSS bucket are backed up.

      Backup Policy

      Click Create Policy. For more information, see Manage backup policies.

      Important

      After you create a backup vault and store backup data, you are charged for the usage of the backup vault. For more information, see Billing methods and billable items.

      Use OSS Inventory

      Specifies whether to enable the OSS inventory feature to back up data from the OSS bucket. The OSS inventory feature of HBR efficiently backs up a large amount of data from OSS and significantly increases the performance of incremental backup. For more information about how to create and run OSS backup plans by using the OSS inventory feature, see Use an OSS inventory list to create a backup plan for a large amount of OSS data.

    5. Click OK.

      HBR runs backup jobs based on the backup plan.

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.

    Turn on Scheduled Backup. For information about how to configure 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.

    To view or change a backup plan, choose Data Management > Scheduled Backup.

What to do next

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