Docs Menu
Docs Home
/
MongoDB Cluster-to-Cluster Sync
/

MongoDB Server Version Compatibility

On this page

  • Synchronize Data Between Clusters Running Older MongoDB Server Versions
  • Synchronize Data Between Clusters with Different MongoDB Server Major Versions
  • Synchronize Data From a Pre-8.0 Source Cluster to an 8.0 Destination Cluster
  • Synchronize Data Between Two 8.0 Clusters

Before you run Cluster-to-Cluster Sync, consider the following MongoDB server version limitations and requirements:

  • mongosync does not yet support migrations to and from clusters that use MongoDB 8.0. For instructions on migrating data to 8.0 destination clusters, see Synchronize Data From a Pre-8.0 Source Cluster to an 8.0 Destination Cluster and Synchronize Data Between Two 8.0 Clusters.

  • The minimum supported server versions of MongoDB are 6.0.16 and 7.0.9.

  • mongosync doesn't support MongoDB rapid releases, such as 6.1 or 6.2.

  • The minimum supported server feature compatibility version is 6.0.

Starting in version 1.2, mongosync can sync between clusters running some older (pre-6.0) releases of MongoDB Server. This feature requires additional preparation and configuration in pre-6.0 releases.

If you would like to migrate pre-6.0 versions of MongoDB Server using mongosync, please contact your account team to inquire about Professional Services.

Starting in 1.7.0, mongosync can perform version migration from certain lower major version source clusters to certain higher major version destination clusters.

Cross-version migration requires additional preparation and configuration when migrating from a pre-6.0 release. To perform a cross-version migration from a pre-6.0 version of the MongoDB Server using mongosync, please contact your account team to inquire about Professional Services.

mongosync supports syncs between the following source and destination MongoDB server versions.

6.0 Destination
7.0 Destination
6.0 Source
7.0 Source

To migrate data from a 6.0 or 7.0 source cluster to an 8.0 destination cluster:

  • Use mongosync to migrate data from your source cluster to a 7.0 destination cluster.

  • Upgrade the 7.0 destination cluster to 8.0.

To migrate data between two 8.0 clusters:

  • Use mongodump to export data from the source cluster.

  • Use mongorestore to import the data into the destination cluster.

For limitations on using mongodump and mongorestore, see mongorestore Behavior, Access, and Usage.

Alternatively, you can downgrade your 8.0 source cluster to 7.0, migrate your data into a 7.0 destination cluster, and then upgrade the destination cluster to 8.0.

Back

Versioning