Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions source/includes/fact-no-8.0-support.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
``mongosync`` does not yet support migrations to and from clusters that use
MongoDB 8.0.
2 changes: 2 additions & 0 deletions source/reference/mongosync.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ To get started with ``mongosync``, refer to the :ref:`Quick Start Guide
Compatibility
-------------

- .. include:: /includes/fact-no-8.0-support.rst

- .. include:: /includes/fact-minimum-server-version-support.rst

You can migrate data on clusters (source) with versions of MongoDB
Expand Down
29 changes: 29 additions & 0 deletions source/reference/supported-server-version.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ MongoDB Server Version Compatibility
Before you run {+c2c-product-name+}, consider the following MongoDB server
version limitations and requirements:

- .. include:: /includes/fact-no-8.0-support.rst

- .. include:: /includes/fact-minimum-server-version-support.rst

- ``mongosync`` doesn't support MongoDB rapid releases, such as 6.1 or 6.2.
Expand All @@ -36,6 +38,8 @@ Synchronize Data Between Clusters with Different MongoDB Server Major Versions
destination MongoDB server versions.

.. list-table::
:header-rows: 1
:stub-columns: 1
:widths: 40 30 30

* -
Expand All @@ -49,3 +53,28 @@ destination MongoDB server versions.
* - **7.0** Source
-
- √

Synchronize Data From a Pre-8.0 Source Cluster to an 8.0 Destination Cluster
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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.

Synchronize Data Between Two 8.0 Clusters
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To migrate data between two 8.0 clusters:

- Use :ref:`mongodump` to export data from the source cluster.
- Use :ref:`mongorestore` to import the data into the destination cluster.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking some more, we can also link to https://www.mongodb.com/docs/manual/release-notes/8.0-downgrade/ and add downgrading the source to 7.0 as an option here - they would then migrate into a 7.0 destination and upgrade the destination. It seems like the downgrade option is only supported for EA, not Atlas or Community

For limitations on using ``mongodump`` and ``mongorestore``, see
:ref:`mongorestore-behavior-access-usage`.

Alternatively, you can :ref:`downgrade your 8.0 source cluster <8.0-downgrade>`
to 7.0, migrate your data into a 7.0 destination cluster, and then upgrade the
destination cluster to 8.0.