Skip to content

Commit abbdf4d

Browse files
authored
DOCSP-45578-no-QE-support (#177)
1 parent c88812f commit abbdf4d

File tree

3 files changed

+8
-19
lines changed

3 files changed

+8
-19
lines changed

source/mongodump.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ Run ``mongodump`` from the system command line, not the
6969

7070
``mongodump`` dumps data to a directory or a binary archive file.
7171

72+
.. important::
73+
74+
You can't use ``mongodump`` with a collection that uses {+qe+}.
75+
7276
Dump Data to a Directory
7377
~~~~~~~~~~~~~~~~~~~~~~~~
7478

source/mongorestore.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ Run ``mongorestore`` from the system command line, not the
5050
MongoDB doesn't support running multiple ``mongorestore`` programs concurrently
5151
for the same collection.
5252

53+
.. important::
54+
55+
You can't use ``mongorestore`` with a collection that uses {+qe+}.
5356

5457
.. include:: /includes/fact-migrate-atlas.rst
5558

@@ -803,8 +806,7 @@ Options
803806

804807
Enables ``mongorestore`` to bypass :manual:`document validation </core/schema-validation>`
805808
during the operation. This lets you insert documents that do not
806-
meet the validation requirements. This option is required if you are
807-
restoring a {+qe+} enabled collection.
809+
meet the validation requirements.
808810

809811
.. _mongorestore-path-option:
810812

source/mongorestore/mongorestore-examples.txt

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -108,23 +108,6 @@ Alternatively, you can restore a specific collection using the
108108
2019-06-30T12:21:44.987-0400 finished restoring test.purchaseorders (6 documents, 0 failures)
109109
2019-06-30T12:21:44.987-0400 6 document(s) restored successfully. 0 document(s) failed to restore.
110110

111-
Restore a {+qe+} Enabled Collection
112-
------------------------------------------------------------------------
113-
114-
{+qe+} adds a ``__safeContent__`` field to documents in an encrypted
115-
collection and blocks insert and update operations on those
116-
documents unless document validation is disabled. To restore a
117-
collection that includes encrypted fields, use
118-
:option:`--bypassDocumentValidation <mongorestore --bypassDocumentValidation>`.
119-
120-
:binary:`~bin.mongodump` exports a {+qe+} enabled collection's
121-
associated metadata collections. Running ``mongorestore`` restores these collections as well.
122-
123-
124-
.. code-block:: sh
125-
126-
mongorestore --db=test --collection=personaldata dump/test/personaldata.bson --bypassDocumentValidation
127-
128111
.. _example-basic-wildcard-usage:
129112

130113
Restore Collections Using Wild Cards

0 commit comments

Comments
 (0)