Configuring the Cross-Region Backup Policy
DDS can store backup files in the destination region or OBS, so you can use the backup files in the destination region to restore data to a new DDS instance.
After the cross-region backup policy is enabled, the system automatically stores the backup files created for the instance to the destination region you specified. You can manage cross-region backup files on the Backups page.
Before You Start
- To apply for the permission to set cross-region backup policies, contact customer service.
- Before enabling the cross-region backup policy, ensure that the automated backup policy has been enabled. Otherwise, the cross-region backup cannot take effect. For details, see Enabling or Modifying an Automated Backup Policy.
Enabling or Modifying a Cross-Region Backup Policy
- Log in to the management console.
- Click in the upper left corner and select a region and a project.
- Click in the upper left corner of the page and choose Databases > Document Database Service.
- On the Instances page, click the target instance.
- In the navigation pane on the left, choose Backups & Restorations.
- On the Backups & Restorations page, click Set Cross-Region Backup Policy.
Figure 1 Set Cross-Region Backup Policy
Table 1 Parameter description Parameter
Description
Cross-Region Full Backup
Click to back up the automated full backup file of the instance to a remote location.
Cross-Region Incremental Backup
Click to back up the incremental backup file of the instance to a remote location.
NOTE:- Only replica set instances support cross-region incremental backup.
- If cross-region full backup is not enabled, cross-region incremental backup cannot be enabled.
- After cross-region incremental backup is enabled, you can restore an instance to a specified time point only after the next automated full backup replication is complete. The specified time point must be later than the time when the automated full backup is complete.
Region
Select the region for which you back up data based on service requirements.
Retention Period
Retention Period refers to the number of days (range: 1 to 3,660) that data is kept. You can increase the retention period to improve data reliability.
- Click OK.
- On the Cross-Region Backups tab of the Backups page, manage cross-region backup files.
- To modify the cross-region backup policy, click Set Cross-Region Backup in the Operation column.
- To view generated cross-region backup files, click View Cross-Region Backup in the Operation column. You can use the cross-region backup files to restore data to a new instance.
Disabling a Cross-Region Backup Policy
- Log in to the management console.
- Click in the upper left corner and select a region and a project.
- Click in the upper left corner of the page and choose Databases > Document Database Service.
- On the Instances page, click the target instance.
- In the navigation pane on the left, choose Backups & Restorations.
- On the Backups & Restorations page, click Set Cross-Region Backup Policy.
- In the displayed dialog box, click to disable the cross-region backup policy.
Figure 2 Disabling a cross-region backup policy
- Click OK.
- If the cross-region backup policy is disabled, the cross-region backup task will be stopped immediately, and all cross-region backup and cross-region incremental backup files will be immediately deleted. Operations related to cross-region backup or incremental backup may fail.
- After an instance is deleted, all cross-region backups and incremental backups of the instance will be retained. The retention period is determined by the retention period you specified in the cross-region backup policy.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot