Description

Restore the backup set to an instance by overwriting the instance. The following conditions must be met, otherwise operation will fail:

  • The instance status is Running.

  • No migration tasks exist.

  • The instance is not locked.

  • The current status of the instance backup set is Success.

Request parameters

Name Type Required Description
Action String Yes Required parameter. Value: RestoreDBInstance.
DBInstanceId String Yes Instance ID.
BackupId Integer Yes ID of the backup set.

Return parameters

Name Type Description
<Public Return Parameters> - For more information, see Public parameters.

Request example

https://rds.aliyuncs.com/?Action=RestoreDBInstance
&BackupId=103916160
&DBInstanceId=rds91e395totd54461k3
&<Public Request Parameters>

Response example

XML format

<RestoreDBInstanceResponse>
     <RequestId>37441409-FFD1-40AA-8EC5-9ECF5E2F7C29</RequestId>
</RestoreDBInstanceResponse>

JSON format

{"RequestId":"37441409-FFD1-40AA-8EC5-9ECF5E2F7C29"}