mongosync usage and instructions on how
to upgrade your version of mongosync.Overview
To configure MongoDB Cluster-to-Cluster Sync on macOS using a downloaded ZIP file, follow the steps on this page.
Cluster-to-Cluster Sync Version
This tutorial installs the latest version of mongosync.
Considerations
Platform Support
MongoDB Cluster-to-Cluster Sync 1.8 supports macOS 10.14 or later.
Version Requirements
Cluster-to-Cluster Sync supports synchronization between clusters. For information on MongoDB server version compatibility, see MongoDB Server Version Compatibility.
Install Cluster-to-Cluster Sync
Follow these steps to manually install Cluster-to-Cluster Sync from the ZIP file.
Ensure the binary is in a directory listed in your PATH environment variable.
The mongosync binary is in the bin/ directory of the
unpacked tarball. To add the location of the mongosync binary to
your PATH, do one of the following:
Copy the binary into a directory listed in your
PATHvariable, such as/usr/local/bin. (Update/path/to/mongosync/binto reflect the location where you extracted thetarfile.)sudo cp /path/to/mongosync/bin/mongosync /usr/local/bin/ Create symbolic links to the
mongosyncbinary from a directory such as/usr/local/binthat is already in yourPATH. (Update/path/to/mongosync/binto reflect the location where you extracted thetarfile.)sudo ln -s /path/to/mongosync/bin/mongosync /usr/local/bin/mongosync