Skip to content

Commit

Permalink
DOCSP-41895 adding backup tutorial (#168)
Browse files Browse the repository at this point in the history
* DOCSP-41895 adding backup tutorial

* DOCSP-41895 adding backup tutorial
  • Loading branch information
ltran-mdb2 authored Aug 2, 2024
1 parent e19eb8f commit 239bec8
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions source/mongoexport.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ For more information on the options available, see :ref:`mongoexport-options`.
Connect to a Replica Set
~~~~~~~~~~~~~~~~~~~~~~~~

.. note::

``mongoexport`` is not a tool for backing up data. To back up your
replica set, see :ref:`manual-tutorial-backup-and-restore`.

To connect to a replica set to export its data, you can either:

- Specify the replica set name and members in the :option:`--uri connection string <mongoexport --uri>`:
Expand Down Expand Up @@ -176,15 +181,8 @@ Connect to a Sharded Cluster

.. note::

To avoid data inconsistencies, pause the following actions on your
sharded cluster when you run ``mongoexport``:

- Cross-shard transactions
- Data definition language operations (operations that create and modify
collections)
- Chunk balancing

To stop the balancer, use the :method:`sh.stopBalancer()` method.
``mongoexport`` is not a tool for backing up data. To back up your
sharded cluster, see :ref:`backup-restore-sharded-clusters`.

To connect to a sharded cluster to export its data, you can either:

Expand Down

0 comments on commit 239bec8

Please sign in to comment.