RDS

Products

RDS

Documentation > OpenAPI & SDK > RDS > restoreDatabaseFromOSS

restoreDatabaseFromOSS

Description

Restore a single database from the backup file uploaded to OSS
- only support SQL Server

Request method

POST

Request address

https://rds.jdcloud-api.com/v1/regions/{regionId}/instances/{instanceId}/databases/{dbName}:restoreDatabaseFromOSS

Name Type Required or not Default value Description
regionId String True Region code, with range detailed in Regions and Availability Zone Comparison Table
instanceId String True RDS instance ID, which uniquely identifies an RDS instance
dbName String True Database name

Request parameter

Name Type Required or not Default value Description
ossURL String True The path where the user uploads the backup files to the Object Storage Service OSS.
For example, if the bucket uploaded by the user for backup is db_backup, and the file is test_server/db1.bak, then ossULR is db_backup/test_server/db1.bak.
Authorization DescriptionYou need to grant the account ID: 785455908940, read permission to this bucket. Specific steps can be viewed at Document.

Response parameter

None

Response code

Return code Description
200 OK
Update Time:2019-07-11 18:54:31