Updated on 2024-02-08 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 management console.
  2. In the service list, choose Databases > GeminiDB Redis API.
  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 DB instances from the recycle bin within the retention period to restore data.

  1. Log in to the management console.
  2. In the service list, choose Databases > GeminiDB Redis API.
  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 and submit the rebuilding task.