Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Event
Docs Menu
Docs Home
/
Atlas

Migrate or Import Data

You can bring data from existing MongoDB deployments, JSON, or CSV files into deployments in Atlas using either:

  • live migration where Atlas assists you, or

  • tools for a self-guided migration of data from your existing deployments into Atlas.

Migrate your data from a source cluster into an Atlas MongoDB cluster using one of the following types of guided live migration in the Atlas UI:

  • Live migration (pull). For instructions, see Live Migrate (Pull) a Cluster into Atlas.

  • Live migration (push). For instructions, see Live Migrate (Push) a Cluster Monitored by Cloud Manager into Atlas.

  • To load data into a new cluster in Atlas, see Load Sample Data.

  • To make a copy of your cluster for testing purposes, see MongoDB Backup Methods.

  • To load data from a JSON or a CSV file into an Atlas cluster, use the Compass GUI .

  • To create backups and restore data, use the MongoCLI utilities mongorestore and mongodump.

  • To migrate from legacy relational databases to MongoDB, use the Relational Migrator tool. Relational Migrator utilizes intelligent algorithms and generative AI to automate solutions to common data modeling, code conversion, and other migration challenges.

  • To restore data from an Atlas cluster backup to another Atlas cluster, use Restore Your Cluster.

  • If the application that you want to migrate requires a near-continuous uptime, contact MongoDB Support and share your uptime requirements and cluster configuration.

Note

To import data using the MongoDB Tools, including mongodump, mongorestore, mongoexport, and mongoimport, you must have MongoDB Tools version 100.10.0 or later. To move data to a Serverless instance, you can also use Compass to export and import data.

To learn more about Serverless instance limitations, see Serverless Instance Limitations.

Back

Synthetic Data

On this page