Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-5178

Comment on: "manual/reference/program/mongorestore.txt"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 01112017-cleanup
    • Component/s: manual
    • Environment:
    • # Replies:
      1
    • Last comment by Customer:
      true
    • Actual Time:
      1

      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 '-'.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            alex.sobrino@gmail.com Alex Sobrino
            Participants:
            Last commenter:
            Jonathan Dahl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              5 years, 11 weeks ago
              Date of 1st Reply: