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

mongorestore has no way to accept input from stdin

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.0.1
    • 2.7.3
    • Tools
    • None
    • 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: