exportBackupToObjectStorage
    • PDF

    exportBackupToObjectStorage

    • PDF

    Article summary

    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.

    ParameterTypeRequiredDescriptionRestrictions
    regionCodeStringNRegion code
    - regionCode can be obtained through the getRegionList action
    - Default: It selects the first region of the getRegionList search result
    -
    objetNameStringYBackup file name
    - objetName can be obtained through the getCloudMongoDbBackupDetailList action
    -
    bucketNameStringYObject Storage bucket name
    - bucketName can be obtained through the getCloudMongoDbBucketList action
    -
    cloudMongoDbInstanceNoStringYCloud DB for MongoDB instance number
    - cloudMongoDbInstanceNo can be obtained through the getCloudMongoDbInstanceList action
    -
    outputStringNFormat 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>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.