Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-4345

mongorestore has no way to accept input from stdin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.7.3
    • Component/s: Tools
    • Labels:
      None
    • Operating System:
      ALL

      Description

      mongodump can output to stdout, but mongorestore appears to have no way to accept input from stdin. This makes it very difficult to pipe the output from mongodump to mongorestore to copy a collection from one server to another without writing the entire collection to a temporary file (potentially hundreds of GB).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                33 Vote for this issue
                Watchers:
                29 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: