[DOCS-5178] Comment on: "manual/reference/program/mongorestore.txt" Created: 07/Apr/15  Updated: 11/Jan/17  Resolved: 29/May/15

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Alex Sobrino Assignee: Unassigned
Resolution: Done Votes: 0
Labels: collector-298ba4e7, tools
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 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0
Referrer: http://docs.mongodb.org/
Screen Resolution: 1920 x 1080
repo: docs
source: reference/program/mongorestore


Participants:
Days since reply: 8 years, 37 weeks, 5 days ago

 Description   

Hi,

There's a '-' missing in the example of:

You can also pipe data directly into to mongorestore through standard input, as in the following example:

zcat /opt/backup/mongodump-2014-12-03/accounts.people.bson.gz | mongorestore --collection people --db accounts

The example should be:

zcat /opt/backup/mongodump-2014-12-03/accounts.people.bson.gz | mongorestore --collection people --db accounts -

with the final '-'.



 Comments   
Comment by Githook User [ 29/May/15 ]

Author:

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

Message: DOCS-5178 missing hyphen
Branch: master
https://github.com/mongodb/docs/commit/e24884af066d1d0f2a3ceee926c5f44609efe650

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