Scenarios
This section describes how to use an automated or manual backup to restore an RDS instance to the status when the backup was created. The restoration is at the DB instance level.
Function Description
Item | Description |
|---|---|
Restoration scope | The entire instance |
Instance data after restoration | The instance data after restoration is consistent with that in the full backup used for the restoration.
|
Scenario |
|
Configurations for restoring to a new instance |
|
Time required | The time required depends on how much data there is in the instance. The average restoration speed is 40 MB/s. |
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click
in the upper left corner of the page and choose Database > Relational Database Service. - On the Backups page, select the backup to be restored and click Restore in the Operation column.
Alternatively, click the target DB instance on the Instances page. On the displayed page, choose Backups & Restorations. On the displayed page, select the backup to be restored and click Restore in the Operation column.
- Select a restoration method.
- Create New Instance
The Create New Instance page is displayed.
- The DB engine and engine version of the new instance are the same as those of the original instance.
- The new instance must have at least the same storage space as the original instance.
- Other settings are the same as those of the original DB instance by default and can be modified. For details, see Creating an RDS for PostgreSQL Instance.
- Restore to Existing
- Select the prompt message.
- Select an existing instance and click Next.
- Confirm the information and click OK.
- 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 of 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, a full backup will be automatically triggered.
- Restore to Existing
On the Instances page, the status of the instance changes from Restoring to Available. If the target existing DB instance contains read replicas, the read replica status is the same as the target existing DB instance status.
After the restoration is complete, a full backup will be automatically triggered.
- Create New Instance