Configuring an Incremental Backup Policy
Incremental backup is used to back up the data newly added or modified since the last full or incremental backup. DDS automatically backs up the updated data every 5-60 minutes since the last automated or incremental backup was made.
When you create a DDS DB instance, incremental backup is enabled by default for all DB instances except DB instances with fewer than 4 vCPUs. You can enable or disable the backup policy after an instance is created. For details, see Enabling or Modifying an Incremental Backup Policy and Disabling the Incremental Backup Policy.
Prerequisites
Before enabling the incremental backup policy, ensure that the automated backup policy has been enabled. For details, see Enabling or Modifying an Automated Backup Policy.
Constraints
- Only cluster instances support this function.
- To minimize the impact of incremental backup on instances, incremental backup is disabled by default for DB instances with fewer than 4 vCPUs.
- Incremental backup stops in any of the following scenarios and starts again after the next automated backup is complete:
- rename operation
- collmod operation
- Creating a user
- Deleting a user
- Creating a role
- Deleting a role
- Enabling shard IP addresses of a cluster instance
- Enabling config IP addresses of a cluster instance
Enabling or Modifying an Incremental 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 instance name.
- In the navigation pane on the left, choose Backups & Restorations.
- On the Backups & Restorations page, click Set Backup Policy. To enable incremental backup, click . After incremental backup is enabled, a full backup is triggered.
Table 1 Parameter description Parameter
Description
Automated Backup
For details about automated backup parameters, see Table 2.
Incremental Backup
Before enabling the incremental backup policy, ensure that the automated backup policy has been enabled.
- Click OK.
- View the results.
- During the creation of an automated backup, you can query the backup status on the Backups page or the Backups & Restorations tab. The backup status is Backing up.
- In the upper right corner of the backup list, click to refresh the list. The backup status changes to Complete.
Disabling the Incremental 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 instance name.
- In the navigation pane on the left, choose Backups & Restorations.
- On the Backups & Restorations page, click Set Backup Policy.
- In the displayed dialog box, click to the right of Incremental Backup to disable the incremental backup policy.
- Click OK.
- After you disable this incremental backup, the incremental backup task will be stopped, all incremental backup files will be deleted immediately, and operations related to incremental backup fail.
- After a DB instance is deleted, all incremental backup files of the DB instance are retained. The retention period depends on the incremental backup retention period that you specified.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.