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 vmongodb exportBackupToObjectStorage [regionCode] [objetName] [bucketName] [cloudMongoDbInstanceNo] [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 query results | - |
objetName | String | Y | Backup file name - objetName can be obtained via the getCloudMongoDbBackupDetailList action | - |
bucketName | String | Y | Object storage bucket name - bucketName can be obtained via the getCloudMongoDbBucketList action | - |
cloudMongoDbInstanceNo | String | Y | Cloud DB for MongoDB instance number - cloudMongoDbInstanceNo can be obtained via the getCloudMongoDbInstanceList action | - |
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 vmongodb exportBackupToObjectStorage --regionCode KR --objectName 659d7b9791288** --bucketName MongoDb-backup --cloudMongoDbInstanceNo ****890
Response examples
The following are examples of responses.
If the response shows that format type (output) is json
{
"exportBackupToObjectStorageResponse": {
"requestId": "cf51da47-c561-4ae1-b48e-e94f1c501da7",
"returnCode": "0",
"returnMessage": "success"
}
}
If the response shows that format type (output) is xml
<exportBackupToObjectStorageResponse>
<requestId>cf51da47-c561-4ae1-b48e-e94f1c501da7</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
</exportBackupToObjectStorageResponse>
Was this article helpful?