Updated on 2024-10-11 GMT+08:00

Recycling an Instance

Unsubscribed yearly/monthly instances and deleted pay-per-use instances are moved to the recycle bin and can be restored.

Precautions

  • The recycling bin 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.
  • You can put up to 100 instances into the recycle bin. If the maximum number of instances is reached, you cannot put instances into the recycle bin any more.
  • If you delete an instance of full storage, the deleted instance will not be moved to the recycle bin.

Modifying the Recycling Policy

You can modify the retention period, and the new retention period only takes effect for the instances that are deleted after the modification.

  1. Log in to the GeminiDB console.
  2. In the service list, choose Databases > GeminiDB.
  3. On the Recycling Bin page, click Modify Recycling Policy. In the displayed dialog box, set the retention period from 1 day to 7 days. Then, click OK.

    Figure 1 Modifying the recycling policy

Rebuilding an Instance

You can rebuild instances from the recycle bin within the retention period to restore data.

  1. Log in to the GeminiDB console.
  2. In the service list, choose Databases > GeminiDB.
  3. On the Recycling Bin page, locate the instance that you want to rebuild and click Rebuild in the Operation column.

    Figure 2 Rebuilding an instance

  4. On the displayed page, set required parameters (you are advised to set the specifications to be the same as those of the original instance) and submit the rebuilding task.