Help Center/ Document Database Service/ User Guide/ Instance Lifecycle Management/ Recycling an Instance/ Modifying the Recycling Policy
Updated on 2026-05-14 GMT+08:00
Modifying the Recycling Policy
Scenarios
DDS allows you to move unsubscribed yearly/monthly DB instances and deleted pay-per-use DB instances to the recycle bin.
Precautions
- The recycling policy is enabled by default and cannot be disabled. Instances in the recycle bin are retained for 7 days by default, and this will not incur any charges.
- Operations after an instance is deleted
- If there are fewer than 100 backups (including automated full backups) in the recycle bin, the system retains the automated full backup from one day prior if available; otherwise, the latest one is retained. The system will also generate a new full backup. You can select one of the backups to rebuild the instance.
- If there are 100 or more backups (including automated full backups) in the recycle bin, the system retains the automated full backup from one day prior if available; otherwise, the latest one is retained. You can select this backup to rebuild the instance.
- You can modify the retention period, and the changes only apply to the instances deleted after the changes, so exercise caution when performing this operation.
- Recycling and backup cannot be performed when a node is in the UNKNOWN state.
- If you delete an instance running out of storage, it will not be moved to the recycle bin.
Procedure
- 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. - In the navigation pane on the left, choose Recycle Bin.
- On the Recycle Bin page, click Modify Recycling Policy. In the displayed dialog box, set the retention period for the deleted DB instances (range: 1 to 7 days). Then, click OK. Figure 1 Modify Recycling Policy
Parent topic: Recycling an Instance
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.