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

mongorestore has no way to accept input from stdin

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.3
    • Affects Version/s: 2.0.1
    • Component/s: Tools
    • None
    • ALL

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

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

              Created:
              Updated:
              Resolved: