Help Center > > User Guide> Working with RDS for PostgreSQL> Backups and Restorations> Restoring a DB Instance from a Backup

Restoring a DB Instance from a Backup

Updated at: May 26, 2020 GMT+08:00

Scenarios

This section describes how to use an automated or manual backup to restore a DB instance to the status when the backup was created. The restoration is at the DB instance level.

Constraints

  • You can use backup data to create a DB instance only when your account balance is greater than or equal to $0 USD.
  • 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

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click RDS. The RDS console is displayed.
  4. On the Backup Management page, select the backup to be restored and click Restore in the Operation column.

    Alternatively, click the target DB instance on the Instance Management page. On the displayed page, choose Backups & Restorations. On the displayed page, select the target backup to be restored and click Restore in the Operation column.

  5. Select a restoration method and 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 are the same as those of the original DB instance and cannot be changed. The database port is 5432 by default and cannot be changed during the restoration.
      • 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.

  6. 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 new instance is created, the system will perform a full backup.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel