[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
mongodump --dbpath ~/instance2 -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
mongorestore
mongodump --dbpath ~/instance2 -d mydb -c mycoll
mongorestore

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: DOCS-2444: Add note to mongodump docs about existing files

Signed-off-by: kay <kay.kim@10gen.com>
Branch: v2.4
https://github.com/mongodb/docs/commit/513dbbf61c873cbb58159cdb875e2cdc54663e2d

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: DOCS-2444: Add note to mongodump docs about existing files

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/8fae8765cd702ec5e88dd277a77d2fb9424bd40d

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