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

MongoDB Server Version Compatibility

On this page

  • Synchronize Data Between Clusters with Different MongoDB Server Major Versions
  • Synchronize Data Between Two 8.0 Clusters

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

  • Starting in version 1.10, mongosync supports migrations to destination clusters that use MongoDB 8.0. The source must be a pre-8.0 cluster. To migrate from 8.0 source clusters, see Synchronize Data Between Two 8.0 Clusters.

  • Your source cluster must run one of the following major supported versions:

    • 4.4 (New in version 1.10.0)

    • 5.0 (New in version 1.10.0)

    • 6.0

    • 7.0

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

The following table lists the minimum MongoDB server version requirements for clusters:

Major Version
Patch Version
Minimum Feature Compatibility Version

4.4

4.4.23

4.4

5.0

5.0.29

5.0

6.0

6.0.16

6.0

7.0

7.0.9

6.0

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

Starting in version 1.10.0, mongosync supports migrations from pre-6.0 source clusters.

Important

mongosync does not support migrations to pre-6.0 destination clusters.

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

6.0 Destination
7.0 Destination
8.0 Destination

4.4 Source

5.0 Source

6.0 Source

7.0 Source

8.0 Source

Tip

See also:

Pre-6.0 Migration Limitations

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 and then migrate your data into an 8.0 destination cluster.

Back

Versioning