mongosync. View the
current documentation
for up-to-date guidance on mongosync and instructions on how to upgrade
to the latest version.Note
mongosync is only compatible with MongoDB major versions and doesn't support rapid and minor versions.
Compatibility Overview
Mongosync requires the following MongoDB versions:
Your source cluster must run MongoDB 5.0, 6.0, 7.0, or 8.0.
Your destination cluster must run MongoDB 7.0 or 8.0.
If your clusters meet these requirements, review the detailed version and feature compatibility requirements in the following sections.
Version Limitations and Requirements
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:
Note
You can only use MongoDB 4.4 and 5.0 as source clusters. You cannot use MongoDB 4.4 and 5.0 as destination clusters.
Major Version | Patch Version | Minimum Feature Compatibility Version |
|---|---|---|
4.4 | 4.4.29 | 4.4 |
5.0 | 5.0.29 | 5.0 |
6.0 | 6.0.17 | 6.0 |
7.0 | 7.0.14 | 6.0 |
8.0 | 8.0 | 8.0 |
Synchronize Data Between Clusters with Different MongoDB Server Major Versions
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 | √ |