You can use scheduled backup provided by Object Storage Service (OSS) to periodically back up objects in a bucket to Cloud Backup. If an object is lost, you can restore the object from Cloud Backup.
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 rules
When you use scheduled backup, you are charged the following fees:
API operation calling fees
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 the object list is obtained, Cloud Backup calls the HeadObject operation to obtain the metadata of the objects that you want to back up. 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 query the backup progress and verify the objects that are backed up. A ListObject request can verify up to 1,000 objects.
For more information about the billing rules 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, 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 of the Archive, Cold Archive, and Deep Cold Archive storage classes.
Scheduled backup 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
Log on to the OSS console.
In the left-side navigation pane, click Buckets. On the Buckets page, find and click the desired bucket.
In the left-side navigation tree, choose
.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.
ImportantA 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 data to the same backup vault, do not use a free backup plan.
In the Create Backup Plan panel, retain the default settings.
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.
In the Create Backup Plan panel, click Switch to Paid Plan in the Source OSS Bucket section.
In the message that appears, click OK.
In the Create Backup Plan panel, configure the parameters. The following table describes the parameters.
Click OK.
Cloud Backup runs backup jobs based on backup plans.
Parameter
Description
Source Path
Specify 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.
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 from an OSS bucket, you can use the OSS inventory feature to accelerate 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.
Configure scheduled backup when you create a bucket
Log on to the OSS console.
In the left-side navigation pane, click Buckets. On the Buckets page, click Create Bucket.
In the Create Bucket panel, configure the parameters.
Turn on Scheduled Backup. For information about how to configure other parameters, see Create buckets.
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
.
References
You can create restore jobs to restore backups to OSS. For more information, see Create an OSS restore job.