exportBackupToObjectStorage

Prev Next

Available in VPC

Send Cloud DB for MongoDB backup files to Object Storage.

Commands

The command statement is as follows.

ncloud vmongodb exportBackupToObjectStorage [regionCode] [objetName] [bucketName] [cloudMongoDbInstanceNo] [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: It selects the first region of the getRegionList search result
-
objetName String Y Backup file name
- objetName can be obtained through the getCloudMongoDbBackupDetailList action
-
bucketName String Y Object Storage bucket name
- bucketName can be obtained through the getCloudMongoDbBucketList action
-
cloudMongoDbInstanceNo String Y Cloud DB for MongoDB instance number
- cloudMongoDbInstanceNo can be obtained through the getCloudMongoDbInstanceList action
-
output String N Format type of the response result
- Options: xml | json
- Default: json
-

Examples

It describes call and response examples.

Call examples

The following is a call example.

ncloud vmongodb exportBackupToObjectStorage --regionCode KR --objectName 659d7b9791288** --bucketName MongoDb-backup --cloudMongoDbInstanceNo ****890 

Response example

The following is a sample response.

When the response result format type (output) is JSON

{
  "exportBackupToObjectStorageResponse": {
    "requestId": "cf51da47-c561-4ae1-b48e-e94f1c501da7",
    "returnCode": "0",
    "returnMessage": "success"
  }
}

When the response result format type (output) is XML


<exportBackupToObjectStorageResponse>
    <requestId>cf51da47-c561-4ae1-b48e-e94f1c501da7</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
</exportBackupToObjectStorageResponse>