exportDbServerLogToObjectStorage
  • PDF

exportDbServerLogToObjectStorage

  • PDF

The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.

It is available for use in a VPC environment.

Summary

Send Cloud DB for MySQL database server log files to Object Storage.

Request

Request parameters

Parameter name Requirement status Type Restrictions Explanation
regionCode No String Region code
You can obtain the regionCode through the getRegionList action.
Default: Select the first region of the getRegionList search results
logType Yes String Database server log file type
Options : BINARY | ERROR | SLOW | GENERAL
fileName Yes String Database server log file name
You can obtain the fileName through the getDbServerLogList action.
bucketName Yes String Object Storage bucket name
You can obtain the bucketName through the ListBuckets action.
cloudMysqlServerInstanceNo Yes String Cloud DB for MySQL server instance number
You can obtain the cloudMysqlServerInstanceNo through the getCloudMysqlInstanceList action.
responseFormatType No String Format type of the response results
Options : xml | json
Default : xml

Example

Request example

GET {API_URL}/exportDbServerLogToObjectStorage
?regionCode=KR
&logType=BINARY
&fileName=mysql-bin.000001
&bucketName=mysql-bin-log
&cloudMysqlServerInstanceNo=****891

Response example

<exportDbServerLogToObjectStorageResponse>
  <requestId>6564e513-acd5-4fe3-ac62-2ab16ee267e8</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
</exportDbServerLogToObjectStorageResponse>

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.