Updated on 2025-01-02 GMT+08:00

Restoration Solutions

If your database is damaged or mistakenly deleted, you can restore it from backups.

Restoring a Mistakenly Deleted Instance

  • RDS moves unsubscribed yearly/monthly instances and deleted pay-per-use instances to the recycle bin. You can rebuild an instance that was deleted up to 7 days ago from the recycle bin.
  • You can restore a deleted instance from its retained manual backups. For details, see Restoring a DB Instance from Backups.

Restoring Mistakenly Deleted or Modified Data of a DB Instance

Table 1 Restoration solutions

Solution

Category

Storage Type

Restoration Time Point

Scope

Restore To

Time Required

Cloud SSD

Extreme SSD

Point in Time When a Backup Was Generated

All Databases and Tables

Certain Databases and Tables

New Instance

Original Instance

Existing Instance Other than the Original Instance

Restoring an entire instance

Restoration from backups

x

x

x

Depending on how much data there is in the instance

Point-in-time recovery (PITR)

x

x

Depending on how much data there is in the instance

Restoring databases and tables

Restoration of databases and tables

x

x

x

Depending on how much data there is in the instance and in the databases and tables

Restoring or Migrating Data to an RDS for PostgreSQL Instance

Restoring or Migrating Data to a Self-Managed PostgreSQL Database