Skip to content

DOCS-1960: updates mongoexport, mongoimport, mongofiles with auth reqs #2223

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

Conversation

schmalliso
Copy link
Contributor

  • updates mongoexport, mongoimport, mongorestore, mongodump,
    and mongofiles to include the
    permissions required to run them against a mongodb database
    with auth enabled
  • pulls out-of-date 'building the tools' section from mongosniff
  • adds item to compatibility notes about deprecation of --journal
    for tools
  • updates "Back Up with mongodump" tutorial to not use deprecated option
  • copy edits

@schmalliso
Copy link
Contributor Author

@mpaik Ready for docs review / merge when you get a chance (hopefully before Monday =D )

@@ -192,7 +201,7 @@ shell uses the :doc:`mongoShell mode representation
.. code-block:: javascript

use test
db.traffic.insert( { _id: 1, volume: NumberLong(2980000), date: new Date() } )
db.traffic.insert( { _id: 1, volume: NumberLong("2980000"), date: new Date() } )
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these quotation marks making a point? they're not necessary to cast to long

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Au contraire. Apparently if you don't include the quotes, it interprets it at a float, and sadness ensues. See: DOCS-4568.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh. I stand corrected.

- updates mongoexport, mongoimport, mongorestore, mongodump,
  and mongofiles to include the
  permissions required to run them against a mongodb database
  with auth enabled
- pulls out-of-date 'building the tools' section from mongosniff
- adds item to compatibility notes about deprecation of --journal
  for tools
- updates backup with mongodump tutorial to not use deprecated option
@mpaik
Copy link
Contributor

mpaik commented Mar 17, 2015

Merged

@mpaik mpaik closed this Mar 17, 2015
@schmalliso schmalliso deleted the tools-authroles branch January 15, 2016 16:40
mongo-cr-bot pushed a commit that referenced this pull request Dec 2, 2022
* DOCSP-26834 Adds warning on defragmentCollection

* Updates warning text

* Updates warning text
mongo-cr-bot pushed a commit that referenced this pull request Dec 2, 2022
* DOCSP-26834 Adds warning on defragmentCollection

* Updates warning text

* Updates warning text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants