exportDbServerLogToObjectStorage
- Print
- PDF
exportDbServerLogToObjectStorage
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Overview
Transfer Cloud DB for MySQL instance database server log files to Object Storage.
Requests
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code regionCode can be obtained via the getRegionList action Default: selects the first region of the getRegionList query results | |
logType | Yes | String | - Database server log file type Options : BINARY | ERROR | SLOW | GENERAL | AUDIT | |
fileName | Yes | String | - Database server log file name fileName can be obtained via the getDbServerLogList action | |
bucketName | Yes | String | - Object Storage bucket name bucketName can be obtained via the Search bucket list action | |
folderPath | No | String | - Upload folder path The file is sent to the entered folder path | |
cloudMysqlServerInstanceNo | Yes | String | - Cloud DB for MySQL server instance number cloudMysqlServerInstanceNo can be obtained via the getCloudMysqlInstanceList action | |
output | No | String | - Format type of the response result Options : xml | json Default : json |
Examples
Request examples
ncloud vmysql exportDbServerLogToObjectStorage --regionCode KR --logType BINARY --fileName mysql-bin.000001 --bucketName mysql-bin-log --cloudMysqlServerInstanceNo ****891 --folderPath cloud-db-for-mysql/
Response examples
<exportDbServerLogToObjectStorageResponse>
<requestId>6564e513-acd5-4fe3-ac62-2ab16ee267e8</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
</exportDbServerLogToObjectStorageResponse>
Was this article helpful?