Docs Menu
Docs Home
/
MongoDB Atlas

Migrate or Import Data

On this page

  • MongoDB 6.0.13 and Later: Live Migrate to Atlas
  • Earlier MongoDB Versions: Live Migrate to Atlas
  • Additional Reference

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.

If both the source and destination clusters are running MongoDB 6.0.13 or later, you can 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:

If you are migrating MongoDB versions earlier than 6.0.13, use one of the following migration methods, depending on your deployment's requirements and configuration.

Source Cluster Configuration
Import Strategy
A MongoDB deployment running MongoDB earlier than 6.0.13 that isn't monitored by Cloud Manager or Ops Manager.
Use live migration (pull) where Atlas pulls data from the source deployment and requires access to the source deployment through the deployment's firewall.
A MongoDB deployment running MongoDB earlier than 6.0.13 that is monitored by Cloud Manager or Ops Manager.
Use live migration (push) where Cloud Manager or Ops Manager pushes data to Atlas using a secure link-token without requiring access to the source cluster through the cluster's firewall.
A shared multi-tenant cluster, or a cluster where you have no access to the oplog, or a cluster that runs a MongoDB version that is no longer supported.
A replica set in AWS.
Migrate a MongoDB Replica Set from AWS to MongoDB 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.

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

← Configure MongoDB Support Access to Atlas Backend Infrastructure