[DOCS-3561] Mongorestore: using --drop will fail if the restore user is not in the dump restore Created: 06/Jun/14  Updated: 11/Jan/17  Resolved: 23/Sep/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Improvement Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: Michael Paik
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to TOOLS-126 Mongorestore can fail with authentica... Accepted
Participants:
Days since reply: 9 years, 21 weeks, 1 day ago

 Description   

The user must be very careful when using --drop option in mongorestore. If the restore user does not exist then the DB will be dropped before it is restored from the dump file and then fail in the middle, leaving the user with an empty DB.

See SERVER-14195 for the details.



 Comments   
Comment by Githook User [ 23/Sep/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-3561: edit
Branch: master
https://github.com/mongodb/docs/commit/025b1e023480d6a1a4ad8d2ffcf58b7d42851540

Comment by Githook User [ 23/Sep/14 ]

Author:

{u'username': u'mpaik', u'name': u'Michael Paik', u'email': u'michael.paik@10gen.com'}

Message: DOCS-3561 - added important callout for mongorestore and users existing in dumps

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/960a460e9dd54db11ecd58e185e8a6d24ed8e847

Generated at Thu Feb 08 07:46:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.