exportDbServerLogToObjectStorage
    • PDF

    exportDbServerLogToObjectStorage

    • PDF

    Article Summary

    Available in VPC

    Overview

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

    Requests

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    regionCode can be obtained via the getRegionList action
    Default: selects the first region of the getRegionList query results
    logTypeYesString- Database server log file type
    Options : BINARY | ERROR | SLOW | GENERAL | AUDIT
    fileNameYesString- Database server log file name
    fileName can be obtained via the getDbServerLogList action
    bucketNameYesString- Object Storage bucket name
    bucketName can be obtained via the Search bucket list action
    folderPathNoString- Upload folder path
    The file is sent to the entered folder path
    cloudMysqlServerInstanceNoYesString- Cloud DB for MySQL server instance number
    cloudMysqlServerInstanceNo can be obtained via the getCloudMysqlInstanceList action
    outputNoString- 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?

    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.