exportDbServerLogsToObjectStorage
    • PDF

    exportDbServerLogsToObjectStorage

    • PDF

    Article summary

    Available in VPC

    Forward Cloud DB for MSSQL DB server logs to Object Storage.

    Commands

    The command statement is as follows.

    ncloud vmssql exportDbServerLogsToObjectStorage [regionCode] [cloudMssqlInstanceNo] [cloudMssqlServerInstanceNo] [bucketName] [folderPath] [cloudMssqlObjectNameList] [output]
    

    Parameter

    The following describes the parameters.

    ParameterTypeRequiredDescriptionRestrictions
    regionCodeStringNRegion code
    - regionCode can be obtained through the getRegionList action
    - Default: Select the first Region of the getRegionList search result
    -
    cloudMssqlInstanceNoStringYCloud DB for MSSQL instance number for forwarding server logs to Object Storage
    - cloudMssqlInstanceNo can be obtained through the getCloudMssqlInstanceList action.
    -
    cloudMssqlServerInstanceNoStringYCloud DB for MSSQL server instance number for forwarding server logs to Object Storage
    - cloudMssqlServerInstanceNo can be obtained through the getCloudMssqlInstanceList action
    -
    bucketNameStringYBucket name
    - Space for storing data in Object Storage
    - bucketName can be obtained through the getCloudMssqlBucketList action
    -
    folderPathStringNObject Storage bucket's folderPath-
    cloudMssqlObjectNameListList<String>YObject name list
    - Object name list can be obtained through the getCloudMssqlLogFileList action
    -
    outputStringNFormat type of the response result
    - Options: xml | json
    - Default: json
    -

    Examples

    It describes call and response examples.

    Call examples

    The following is a call example.

    ncloud vmssql exportDbServerLogsToObjectStorage --regionCode KR --bucketName ***** --cloudMssqlInstanceNo ****** --cloudMssqlServerInstanceNo *****33 --cloudMssqlObjectNameList testLog
    

    Response example

    The following is a sample response.

    When the response result format type (responseFormatType) is JSON

    {
      "exportDbServerLogsToObjectStorageResponse": {
        "requestId": "858c2941-2402-4686-9f4d-36a7a906a39d",
        "returnCode": 0,
        "returnMessage": "success"
    }
    

    When the response result format type (responseFormatType) is XML

    <exportDbServerLogsToObjectStorageResponse>
        <requestId>858c2941-2402-4686-9f4d-36a7a906a39d</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
    </exportDbServerLogsToObjectStorageResponse>
    

    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.