exportBackupToObjectStorage
- Print
- PDF
exportBackupToObjectStorage
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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
| - |
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
| - |
output | String | N | Respond result's format type
| - |
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?