[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: |
|
||||||||
| 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: |
| 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: Signed-off-by: Sam Kleinman <samk@10gen.com> |