Restoring a DB Instance to a Point in Time
Scenarios
You can restore from automated backups to a specified point in time.
If you delete a database or modify some records in a database at a specified time, you only need to restore the database instead of restoring the whole DB instance. You can also restore databases to a point in time as required.
When you enter the time point that you want to restore the DB instance to, RDS downloads the most recent full backup file from OBS to the DB instance. Then, incremental backups are also restored to the specified point in time on the DB instance. Data is restored at an average speed of 30 MB/s.
Procedure
- Log in to the management console.
- Click
in the upper left corner of the page and choose Databases > Relational Database Service.
- On the Instances page, click the target DB instance.
- In the navigation pane on the left, choose Backups & Restorations. On the displayed page, click Restore to Point in Time.
- In the displayed dialog box, specify required information and click OK.
- Select the time range, select or enter a time point within the acceptable range.
If your instance has been restored before by overwriting its data, the period from the time when the restoration started to the time when the first backup was created after the restoration will not be shown in the restorable time range.
- Select a restoration method.
- Select the databases to be restored. You can rename these databases as required. If you do not enter a new name, the original database name will be used.
- The new database names must be different from each other and must be different from the original database names.
- The new database names cannot contain the following fields (case-insensitive): rdsadmin, master, msdb, tempdb, model, and resource.
- Each database name consists of 1 to 64 characters. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed.
- Select the time range, select or enter a time point within the acceptable range.
- View the restoration result. The result depends on which restoration method was selected:
- Create New Instance
A new DB instance is created using the backup data. The status of the DB instance changes from Creating to Available.
The new DB instance is independent from the original one.
A full backup is triggered after the new DB instance is created.
- Restore to Original
On the Instances page, the status of the DB instance changes from Restoring to Available.
A new restoration time range is available. There will be a difference between the new and original time ranges. This difference reflects the duration of the restoration.
After the restoration is complete, a full backup will be automatically triggered.
- Restore to Existing
On the Instances page, the status of the DB instance changes from Restoring to Available.
After the restoration is complete, a full backup will be automatically triggered.
- Create New Instance
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.