[DOCS-5153] Comment on: "manual/reference/program/mongorestore.txt" Created: 02/Apr/15  Updated: 30/Oct/23  Resolved: 10/Jun/15

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Minor - P4
Reporter: Mark Helmstetter Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7, storage
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/reference/program/mongorestore/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.104 Safari/537.36
Referrer: http://docs.mongodb.org/v2.6/reference/program/mongorestore/
Screen Resolution: 1920 x 1200
repo: docs
source: reference/program/mongorestore


Participants:
Days since reply: 8 years, 36 weeks ago

 Description   

This page should clarify that mongorestore cannot both read data files and write data files. This will result in the error:

"Cannot use both --dir and the positional argument to set the target directory"



 Comments   
Comment by Githook User [ 10/Jun/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-5153 mongorestore dir and <path> argument
Branch: master
https://github.com/mongodb/docs/commit/024febab78cc2922a0ec5d77589ed41000051c2c

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