Fix This Page
Navigation

Import Data into ClusterΒΆ

You can bring data from existing MongoDB deployments or JSON/CSV files into Atlas using one of the following:

Program Use Case
Live Migrate feature.

To migrate from a MongoDB replica set into an Atlas cluster.

Important

  • The source MongoDB replica set must be version 3.0 or greater.
  • Live Migrate does not import user/role data.
mongomirror

To migrate from a MongoDB replica set into an Atlas cluster.

mongomirror does not require you to shut down your existing replica set or applications.

Important

  • The source MongoDB replica set must be version 3.0 or greater.
  • mongomirror does not import user/role data.

See the tutorial Migrate with mongomirror.

mongorestore

To seed an Atlas cluster with a BSON dump backup of an existing MongoB deployment.

Important

mongorestore does not restore system.profile collection data.

See the tutorial Seed with mongorestore.

mongoimport

To load data from a JSON or a CSV file into an Atlas cluster.

See the tutorial Load File with mongoimport.

You can also restore from an Atlas cluster backup data to another Atlas cluster. For information, see Restore a Cluster.

To migrate data from an M0 (Free Tier) cluster to a paid cluster, see Migrate Data from an M0 (Free Tier) Cluster to a Paid Cluster.