Restoring a DB Instance to a Point in Time
Scenarios
You can use an automated backup to restore a DB instance to a specified point in time.
Constraints
- If you restore backup data to a new DB instance:
- The DB engine, version, and port number of the database are the same as those of the original DB instance and cannot be changed.
- You need to set a new administrator password.
- You can restore backup data to a new DB instance only when your account balance is greater than or equal to ¥0.
- RDS for PostgreSQL does not support restoration to the original DB instance. If you intend to restore to the original DB instance, restore to a new DB instance first and then change the IP address to that of the original DB instance.
Procedure
- 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.
- In the navigation pane on the left, choose Backups & Restorations. On the displayed page, click Restore to Point in Time.
- Select a restoration date and time range, enter a time point within the selected time range, and select a restoration method. Then, click OK.
RDS for PostgreSQL does not support restoration to the original DB instance. If you intend to restore to the original DB instance, restore to a new DB instance first and then change the IP address to that of the original DB instance.
- Create New Instance The Create New Instance page is displayed.
- The DB engine and version of the new DB instance are the same as those of the original DB instance and cannot be changed.
- Storage space of the new DB instance is the same as that of the original DB instance by default and cannot be less than that of the original DB instance. The administrator password needs to be reset.
- Other settings are the same as those of the original DB instance by default and can be modified. For details, see Buying an RDS PostgreSQL DB Instance.
- Create New Instance
- 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. If you need read replicas to offload read pressure, create one or more for the new DB instance.
After the restoration, the system will perform a full backup.
- Create New Instance
Last Article: Creating a Manual Backup
Next Article: Exporting Backup Information
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.