downloadDmsFile

Prev Next

Overview

Downloads backup files from the Amazon S3 compatible storage to the internal backup storage, using the information that is stored with setObjectStorageInfo.
The backup files can be used to restore your database only after they are transferred to the internal backup storage.
Use getDmsOperation to get the download progress, with the requestNo you can get from the response.

Request

Request parameters

Parameter Required Type Limitations Description
cloudDBInstanceNo Y string Cloud DB instance number
fileName Y string File name to download
It is the file name in a bucket of your S3 Object Storage.
You can specify the file name including the folder name, like “subfolder/BackupFile.Bak.”
Otherwise, just specify the file name.
responseFormatType N string Response format
Select between xml and json.

Examples

Request example

{CloudDB_API_URL}/downloadDmsFile?cloudDBInstanceNo=1010059&fileName=filename.full

Response example

<downloadDmsFileResponse>
    <requestId>57a350ef-bbb0-4ff6-8e08-5de3ad7795d5</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <requestNo>781996</requestNo>
</downloadDmsFileResponse>