--- title: "exportBackupToObjectStorage" slug: "cli-vmongodb-exportbackuptoobjectstorage" updated: 2026-09-17T10:08:42Z published: 2026-09-17T10:08:42Z canonical: "cli.ncloud-docs.com/cli-vmongodb-exportbackuptoobjectstorage" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # exportBackupToObjectStorage Available in VPC Send Cloud DB for MongoDB instance backup files to Object Storage. To send backup files to Object Storage, Object Storage buckets for storing and searching backup files must be created in advance. For more information, see [Object Storage user guide](https://guide.ncloud-docs.com/docs/en/storage-storage-6-1). ## Syntax The `exportBackupToObjectStorage` syntax is as follows: ``` ./ncloud vmongodb exportBackupToObjectStorage \ --cloudMongoDbInstanceNo \ --objectName \ --bucketName \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `exportBackupToObjectStorage`. ### Required options The following options are required for `exportBackupToObjectStorage`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--cloudMongoDbInstanceNo` | String | Required | Instance number of Cloud DB for MongoDB - See [getCloudMongoDbInstanceList](/docs/en/cli-vmongodb-getcloudmongodbinstancelist). | | `--objectName` | String | Required | Name of the backup file to send to Object Storage - See [getCloudMongoDbBackupDetailList](/docs/en/cli-vmongodb-getcloudmongodbbackupdetaillist). | | `--bucketName` | String | Required | Name of the Object Storage bucket to which the backup files will be sent - See [Object Storage](/docs/en/guide-objectstorage). | ### Common options For information about the options common to all `vmongodb` subcommands, see [Cloud DB for MongoDB (VPC) options](/docs/en/cli-vmongodb#%EC%98%B5%EC%85%98). ## Examples If the backup file transfer request is successful, the backup file will be transferred to the specified Object Storage bucket. ### Command The command example is as follows: ``` ./ncloud vmongodb exportBackupToObjectStorage \ --cloudMongoDbInstanceNo 34567890 \ --objectName a1b2c3d4e5f6a7b8c9d0e1f2 \ --bucketName my-test-bucket \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "exportBackupToObjectStorageResponse": { "requestId": "c3d4e5f6-a7b8-9012-cdef-345678901234", "returnCode": "0", "returnMessage": "success" } } ```