This topic describes the instance recycle bin feature and how to restore data of released instances.
Background information
The instance recycle bin stores instances that have been released but retain backup files. You can use the instance recycle bin to restore the data of released instances to a new instance.
When a OceanBase instance is released, you can choose one of the following two backup strategies:
Retain all existing data backups and log backups when the instance is released. You can view and restore the data of the instance in the instance recycle bin. The backup files of an instance that has entered the instance recycle bin are not deleted. Them are retained for 7 days by default and are continuously charged without any free quota. For more information, see Backup and restore billing. In the case of an instance that is released due to arrears, the backup data does not enter the instance recycle bin.
Do not retain the backup. After the instance is released, it does not enter the instance recycle bin.
Limitations
- Only instance-level data restore is supported. Data restore for individual tenants is not supported.
Procedure
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Instances.
On the instance list page, click View Instance Recycle Bin in the upper-right corner.
On the instance recycle bin page, view the basic information of the released instance. Click the arrow before the name of the target instance to view the backup information of the released instance.
Restore an instance
To restore an instance, click Restore in the Actions column of the target instance to restore the data of the released instance. For more information, see Restore data backups in the instance recycle bin.
Download an instance backup
You can download backup files of instances in the instance recycle bin to your local device for long-term retention.
In the backup information, click Download in the Actions column of the target backup file.
In the dialog box that appears, select the backup set and click Generate Download Address.
After the download address is generated, you can download the backup file by accessing the address.
Delete an instance backup
You can delete backup files of instances in the instance recycle bin to release the backup storage space. After the backup file is deleted, no charges are incurred.
In the backup information, click ··· > Delete in the Actions column of the target backup file.
In the dialog box that appears, confirm the information and click Delete.
