exportBackupToObjectStorage
- Print
- PDF
exportBackupToObjectStorage
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Available in VPC
Transfer backups of the cloud DB for MSSQL database to the object storage.
Commands
The text of the command is as follows:
ncloud vmssql exportBackupToObjectStorage [regionCode] [cloudMssqlInstanceNo] [cloudMssqlServerInstanceNo] [bucketName] [folderPath] [cloudMssqlExportObjectList.N.objectName] [cloudMssqlExportObjectList.N.fullObjectName] [output]
Parameter
The following is a description on parameters.
Parameter | Type | Required | Description | Restrictions |
---|---|---|---|---|
regionCode | String | N | - regionCode can be obtained via the getRegionList action - default: Selects the first region of the getRegionList view results | - |
cloudMssqlInstanceNo | String | Y | The cloud DB for MSSQL instance number for transferring cloud DB for MSSQL backups to ObjectStorage - cloudMssqlInstanceNo can be obtained via the getCloudMssqlInstanceList action | - |
cloudMssqlServerInstanceNo | String | Y | The cloud DB for MSSQL instance number for transferring cloud DB for MSSQL backups to ObjectStorage - cloudMssqlServerInstanceNo can be obtained via the getCloudMssqlInstanceList action | - |
bucketName | String | Y | BucketName - The space within object storage for data storage - BucketName can be obtained via the getCloudMssqlBucketList action | - |
folderPath | String | N | folderPath of ObjectStorage bucket | - |
cloudMssqlExportObjectList.N.objectName | List | Y | Object name list | - |
cloudMssqlExportObjectList.N.fullObjectName | List | Y | Full object name list | - |
output | String | N | Format type of the response - options: xml | json - default: json | - |
Examples
Describes examples of recalls and responses.
Recall examples
The following are examples of recalls.
ncloud vmssql exportBackupToObjectStorage --regionCode KR --bucketName ***** --cloudMssqlInstanceNo *****2 --cloudMssqlServerInstanceNo *****3 --cloudMssqlExportObjectList 'objectName="*******.***t", fullObjectName="*****\\test.txt"'
Response examples
The following are examples of responses.
If the response shows that format type (responseFormatType) is json
{
"exportBackupToObjectStorageResponse": {
"requestId": "858c2941-2402-4686-9f4d-36a7a906a39d",
"returnCode": 0,
"returnMessage": "success"
}
If the response shows that format type (responseFormatType) is xml
<exportBackupToObjectStorageResponse>
<requestId>858c2941-2402-4686-9f4d-36a7a906a39d</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
</exportBackupToObjectStorageResponse>
Was this article helpful?