Skip to content

Commit 239bec8

Browse files
authored
DOCSP-41895 adding backup tutorial (#168)
* DOCSP-41895 adding backup tutorial * DOCSP-41895 adding backup tutorial
1 parent e19eb8f commit 239bec8

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

source/mongoexport.txt

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ For more information on the options available, see :ref:`mongoexport-options`.
112112
Connect to a Replica Set
113113
~~~~~~~~~~~~~~~~~~~~~~~~
114114

115+
.. note::
116+
117+
``mongoexport`` is not a tool for backing up data. To back up your
118+
replica set, see :ref:`manual-tutorial-backup-and-restore`.
119+
115120
To connect to a replica set to export its data, you can either:
116121

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

177182
.. note::
178183

179-
To avoid data inconsistencies, pause the following actions on your
180-
sharded cluster when you run ``mongoexport``:
181-
182-
- Cross-shard transactions
183-
- Data definition language operations (operations that create and modify
184-
collections)
185-
- Chunk balancing
186-
187-
To stop the balancer, use the :method:`sh.stopBalancer()` method.
184+
``mongoexport`` is not a tool for backing up data. To back up your
185+
sharded cluster, see :ref:`backup-restore-sharded-clusters`.
188186

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

0 commit comments

Comments
 (0)