Skip to content

DOCS-2825 dumpDbUsersAndRoles #1629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
16 changes: 14 additions & 2 deletions source/includes/options-mongodump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ name: oplog
directive: option
args: null
description: |
Use this option to ensure that :program:`mongodump` creates a dump of
Ensures that :program:`mongodump` creates a dump of
the database that includes a partial :term:`oplog` containing operations
from the duration of the :program:`mongodump` operation. This oplog
produces an effective point-in-time snapshot of the state of a
Expand Down Expand Up @@ -233,7 +233,7 @@ name: repair
directive: option
args: null
description: |
Use this option to run a repair option in addition to dumping the
Runs a repair option in addition to dumping the
database. The repair option attempts to repair a database that may be in
an invalid state as a result of an improper shutdown or
:program:`mongod` crash.
Expand Down Expand Up @@ -266,4 +266,16 @@ description: |
.. important:: Use :option:`--forceTableScan` with extreme caution and
consideration.
optional: true
---
program: mongodump
name: dumpDbUsersAndRoles
directive: option
args: null
description: |
Includes user and role definitions when performing :program:`mongodump`
on a specific database. This option applies only when you specify a
database in the :option:`--db` option. MongoDB always includes user and
role definitions when :program:`mongodump` applies to an entire instance
and not just a specific database.
optional: true
...
1 change: 0 additions & 1 deletion source/reference/program/mongodump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ Options

.. include:: /includes/option/option-mongodump-forceTableScan.rst

.. this doesn't exist:
.. include:: /includes/option/option-mongodump-dumpDbUsersAndRoles.rst

Use
Expand Down