[DOCS-2444] Add note to mongodump docs about existing files Created: 20/Dec/13 Updated: 29/Jul/14 Resolved: 29/Jul/14 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | v1.3.9 |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Dan Dascalescu | Assignee: | Tim Slavin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 9 years, 29 weeks, 1 day ago |
| Description |
|
I had various MongoDB instances that I wanted to unify into one: mongodump --dbpath ~/instance1 -d mydb -c mycoll The workflow I imagined was that I'd dump all the database, then run `mongorestore`. In actuality, dumps will be overwritten by subsequence mongodump commands, so the workflow would be: mongodump --dbpath ~/instance1 -d mydb -c mycoll Probably works as intended, but may be worth documenting that the dump files will be overwritten. |
| Comments |
| Comment by Githook User [ 29/Jul/14 ] |
|
Author: {u'username': u'TimSlavinMongoDB', u'name': u'Tim Slavin (MongoDB)', u'email': u'tim.slavin@10gen.com'}Message: Signed-off-by: kay <kay.kim@10gen.com> |
| Comment by Githook User [ 29/Jul/14 ] |
|
Author: {u'username': u'TimSlavinMongoDB', u'name': u'Tim Slavin (MongoDB)', u'email': u'tim.slavin@10gen.com'}Message: Signed-off-by: kay <kay.kim@10gen.com> |