Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

exportBackupToObjectStorage

Prev Next

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.

Parameter Type Required Description Restrictions
regionCode String N Region code
  • regionCode can be obtained through the getRegionList action
  • Default: Select the first Region of the getRegionList query result
-
cloudMssqlInstanceNo String Y Cloud DB for MSSQL instance number for sending Cloud DB for MSSQL backups to Object Storage -
cloudMssqlServerInstanceNo String Y Cloud DB for MSSQL server instance number for sending Cloud DB for MSSQL backups to Object Storage -
bucketName String Y Bucket name -
folderPath String N Object Storage bucket's folderPath -
cloudMssqlExportObjectList.N.fullObjectName List Y List 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
-
output String N Respond 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>