exportBackupToObjectStorage
    • PDF

    exportBackupToObjectStorage

    • PDF

    Article summary

    Available in VPC

    Forward Cloud DB for MSSQL DB backups to Object Storage.

    Commands

    The command statement is as follows.

    ncloud vmssql exportBackupToObjectStorage [regionCode] [cloudMssqlInstanceNo] [cloudMssqlServerInstanceNo] [bucketName] [folderPath] [cloudMssqlExportObjectList.N.fullObjectName] [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 query result
    -
    cloudMssqlInstanceNoStringYCloud DB for MSSQL instance number for sending Cloud DB for MSSQL backups to Object Storage-
    cloudMssqlServerInstanceNoStringYCloud DB for MSSQL server instance number for sending Cloud DB for MSSQL backups to Object Storage-
    bucketNameStringYBucket name-
    folderPathStringNObject Storage bucket's folderPath-
    cloudMssqlExportObjectList.N.fullObjectNameListYList of paths to files to send to Object Stroge
    • Check through getCloudMssqlBackupDetailList when sending backup files
    • Check through getLogBackupFileList when sending log backup files
    • <e.g.> cloudMssqlExportObjectList.1.fullObjectName=Z:\test1&cloudMssqlExportObjectList.2.fullObjectName=Z:\test2
    -
    outputStringNRespond result's format type
    • Options: xml | json
    • Default: json
    -

    Examples

    It describes call and response examples.

    Call examples

    The following is a call example.

    cli_window

    ncloud vmssql exportBackupToObjectStorage --regionCode KR --bucketName ***** --cloudMssqlInstanceNo *****2 --cloudMssqlServerInstanceNo *****3 --cloudMssqlExportObjectList "fullObjectName='*****\\test.txt'"
    

    cli_linux

    ncloud vmssql exportBackupToObjectStorage --regionCode KR --bucketName ***** --cloudMssqlInstanceNo *****2 --cloudMssqlServerInstanceNo *****3 --cloudMssqlExportObjectList 'fullObjectName="*****\\test.txt"'
    

    Response example

    The following is a sample response.

    When the response result format type (responseFormatType) is JSON

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

    When the response result format type (responseFormatType) is XML

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

    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.