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 back up data stored in OSS buckets using cloud backup, storage and API operation calling fees will be incurred. For more information, see Billing.
Limits
Cloud backup allows you to back up and restore buckets whose storage class is Standard. Cloud Backup does not support the backup and restoration of buckets whose storage class is Infrequent Access (IA), Archive, Cold Archive, or Deep Cold Archive.
Cloud Backup allows you to back up and restore objects whose storage class is Standard or IA. Cloud Backup does not support the backup and restoration of objects whose storage class is Archive, Cold Archive, or Deep Cold Archive.
Cloud Backup does not support the backup and restoration of access control lists (ACLs) that control the read and write permissions on objects.
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, Indonesia (Jakarta), Malaysia (Kuala Lumpur), 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 your data to the same backup vault, do not use a free backup plan.
On the Backup Plans tab, click Create 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.
On the Backup Plans tab, click Create Backup Plan.
In the Create Backup Plan panel, click Switch to Paid Plan below the Source OSS Bucket parameter.
In the message that appears, click OK.
In the Create Backup Plan panel, configure the parameters described in the following table.
Click OK.
Cloud Backup runs backup jobs based on the backup plan.
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.
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, go to the navigation tree of the bucket and choose
.
References
You can create restore jobs to restore backups to OSS. For more information, see Create a restore job for an OSS bucket.