Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
*Location*: http://docs.mongodb.org/manual/reference/mongorestore/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31
*Referrer*: http://docs.mongodb.org/manual/reference/mongodump/
*Screen Resolution*: 1920 x 1080
*repo*: docs
*source*: reference/mongorestore
*Location*: http://docs.mongodb.org/manual/reference/mongorestore/ *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31 *Referrer*: http://docs.mongodb.org/manual/reference/mongodump/ *Screen Resolution*: 1920 x 1080 *repo*: docs *source*: reference/mongorestore
Description
The command given in the docs:
mongorestore --collection people --db accounts dump/accounts/
does not work. The correct command is
mongorestore --collection people --db accounts dump/accounts/people.bson
Please update the document. Thanks!