Restoring a Table to a Specified Point in Time
To ensure data integrity and reduce impact on the original instance performance, the system restores the full and incremental data at the selected time point to a temporary DB instance, automatically exports the tables to be restored, and then restores the tables to the original DB instance. The time required depends on the amount of data to be backed up and restored on the DB instance. Please wait. Restoring tables will not overwrite data in the DB instance. You can select tables to be restored.
- This function is supported only for MySQL DB instances.
- Hybrid SSD instances do not support table-level point-in-time restoration.
- MySQL 8.0 DB instances do not support table-level point-in-time restore (PITR).
- During the table-level point-in-time restore, DB instances and read replicas cannot be rebooted or deleted, and their instance specifications cannot be modified.
After the table is restored, a new table will be generated in the DB instance. Ensure the DB instance has sufficient storage space for the generated table.
- Log in to the management console.
- Click in the upper left corner and select a region and a project.
- Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
- On the Instance Management page, click the target DB instance.
- Choose Backups & Restorations in the navigation pane on the left. On the Full Backups page, choose More > Restore Table above the backup list. Alternatively, on the Binlog Backups page, click Restore Table above the backup list.
- Set the restoration date, time range, time point, and tables to be restored, and click Next: Confirm.
- To facilitate your operations, you can search for the tables and belonged databases to be restored.
- After the restoration is complete, new tables with timestamps as suffixes are generated in the DB instance. You can rename the new tables.
- The new table name must be unique and consist of 1 to 64 characters. Only letters, digits, underscores (_), hyphens (-), and dollars ($) are allowed.
- The table-level point-in-time restore (PITR) does not support the restoration of databases whose names contain periods (.).Figure 1 Restoring tables to a specified point in time
- If you have enabled the operation protection function, click Send Code in the displayed Identify Verification dialog box and enter the obtained verification code. Then, click OK.
Two-factor authentication is required to improve the security of your account and cloud product. For details about how to enable operation protection, see the Identity and Access Management User Guide.
- On the displayed page, confirm the information and click Submit.
- On the Instance Management page, the DB instance status is Restoring. During the restoration process, services are not interrupted.
You can also view the progress and result of restoring tables to a specified point in time on the Task Center page.
After the restoration is successful, you can manage data in the tables as required.