Scenarios
You can restore the data of a replica set instance to a specified time point.
Restoration Precautions
- Currently, you can restore a replica set instance to a new or original DB instance at a point in time.
- In case of point-in-time recovery, the "local" database (which is a default database in DDS instances) will not be restored.
- When you enter the time point that you want to restore the DB instance to, DDS downloads the latest full backup file before the specified time point 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.
Constraints
Data can be restored to a specified time point only after the automated backup policy is enabled.
Procedure
- Log in to the DDS console.
- On the Instance Management page, click the target replica set instance.
- In the navigation pane on the left, click Backups & Restorations.
- On the Backups & Restorations page, click Restore to Point In Time.
- Select the date and time range, select or enter a time point within the acceptable range, and select Create New Instance or Restore to Original.
- On the displayed page, the DB instance is restored based on the restoration method you selected in 5.