File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -254,11 +254,13 @@ description: |
254
254
{{role}} does not dump the oplog collection.
255
255
256
256
.. note::
257
+
257
258
:program:`mongodump --oplog <mongodump>` must create a full dump of a
258
- ::term:`replica set` member. You cannot use :option:`--db` or
259
- ::option:`--collection` with {{role}} to limit what will be dumped. If
260
- :you use either of these options with {{role}}, the dump fails and
261
- :generates an error message.
259
+ :term:`replica set` member. :program:`mongodump` fails if you use any of
260
+ the following options with {{role}} to limit the data to be dumped:
261
+
262
+ - :option:`--db`
263
+ - :option:`--collection`
262
264
263
265
.. seealso:: :option:`mongorestore --oplogReplay <--oplogReplay>`
264
266
Original file line number Diff line number Diff line change @@ -243,11 +243,14 @@ description: |
243
243
.. note::
244
244
245
245
:program:`mongorestore --oplogReplay <mongorestore>` must restore a full
246
- :dump of a :term:`replica set` member created using :program:`mongodump
247
- :--oplog <mongodump>`. You cannot use :option:`--db` or
248
- ::option:`--collection` with {{role}} to limit what will be restored. If
249
- :you use either of these options with {{role}}, the restore fails and
250
- :generates an error message.
246
+ dump of a :term:`replica set` member created using :program:`mongodump
247
+ --oplog <mongodump>`. :program:`mongorestore` fails if you use any of
248
+ the following options with {{role}} to limit the data be restored:
249
+
250
+ - :option:`--db`
251
+ - :option:`--collection`
252
+ - :option:`--nsInclude`
253
+ - :option:`--nsExclude`
251
254
252
255
.. seealso:: :ref:`mongorestore Required Access <mongorestore-required-access>`
253
256
You can’t perform that action at this time.
0 commit comments