All Products
Search
Document Center

Object Storage Service:Scheduled backup

Last Updated:May 15, 2024

You can use Cloud Backup in combination with Object Storage Service (OSS) to periodically back up objects in buckets. This way, you can use backups to restore objects that are corrupted or lost due to factors such as accidental deletions, modifications, and overwrites. Cloud Backup allows you to configure flexible backup policies to back up data to the cloud. You can view your backups and use them to restore data at any time.

Prerequisites

  • Cloud Backup is activated. You can go to the Cloud Backup product page to activate Cloud Backup.

  • Cloud Backup is authorized to read data from OSS.

    If Cloud Backup is not authorized to read data from OSS, perform the following steps to complete the authorization: Log on to the Cloud Backup console, click OSS Backup in the left-side navigation pane, and then follow the on-screen instructions to authorize Cloud Backup 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 job starts, Cloud Backup calls the ListObject operation to obtain the list of objects that you want to back up. A ListObject request can list up to 1,000 objects.

    • After objects are listed, Cloud Backup calls the HeadObject operation to query object metadata. A HeadObject request can obtain the metadata of one object.

    • Cloud Backup calls the GetObject operation to back up objects. A GetObject request can back up one object.

    • Cloud Backup calls the ListObject operation to list objects for backup progress monitoring and backup verification. A ListObject request can list 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 additionally charged data retrieval fees. For more information, see Data processing fees.

  • You are charged for the storage of backups in Cloud Backup vaults. For more information, 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 in the Archive, Cold Archive, or Deep Cold Archive storage class.

  • Scheduled backup is supported in the following regions: China (Hangzhou), China (Shanghai), China (Shenzhen), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Chengdu), China (Hong Kong), Germany (Frankfurt), US (Virginia), Japan (Tokyo), Singapore, Australia (Sydney), Indonesia (Jakarta), Malaysia (Kuala Lumpur), India (Mumbai), 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

    Cloud Backup provides a 30-day free trial of scheduled backup.

    Important

    A free backup plan does not allow you to change the Source Path and Backup Interval parameters. 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 your data to the same backup vault, do not use a free backup plan.

    1. On the Backup Plans tab, click Create Backup Plan.

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

    3. 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. On the Backup Plans tab, click Create Backup Plan.

    2. In the Create Backup Plan panel, click Switch to Paid Plan below the Source OSS Bucket parameter.

    3. In the message that appears, click OK.

    4. In the Create Backup Plan panel, configure the parameters described in the following table.

    5. Parameter

      Description

      Source Path

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

      Backup Policy

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

      Use OSS Inventory

      Specify whether to enable the OSS inventory feature to back up data from the OSS bucket. If you need to back up a large amount of data, you can use the OSS inventory feature to accelerate incremental backup. For more information about how to use scheduled backup with the inventory feature, see Back up a large amount of OSS objects by using the OSS inventory feature.

    6. Click OK.

      Cloud Backup 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, go to the navigation tree of the bucket and choose Data Management > Scheduled Backup.

References

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