Available in VPC
Overview
Send Cloud DB for MySQL instance backup files to Object Storage.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code regionCode can be obtained through the getRegionList action. Default: Select the first Region of the getRegionList search results |
|
fileName | Yes | String | - Backup file name fileName can be obtained through the getCloudMysqlBackupDetailList action |
|
bucketName | Yes | String | - Object Storage bucket name bucketName can be obtained through the View bucket list action |
|
folderPath | No | String | - Upload folder path Files are sent to the folder path entered |
|
cloudMysqlInstanceNo | Yes | String | - Cloud DB for MySQL instance number cloudMysqlInstanceNo can be obtained through the getCloudMysqlInstanceList action |
|
output | No | String | - Format type of the response result Options: xml | json Default: json |
Examples
Request example
ncloud vmysql exportBackupToObjectStorage --regionCode KR --fileName 20210528 --bucketName mysql-backup --cloudMysqlInstanceNo ****890 --folderPath cloud-db-for-mysql/
Response example
<exportBackupToObjectStorageResponse>
<requestId>cf51da47-c561-4ae1-b48e-e94f1c501da7</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
</exportBackupToObjectStorageResponse>