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

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                4 years, 34 weeks, 5 days ago
                Date of 1st Reply: