Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-716

Mongodump: add option to read query from file

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor - P4
    • Resolution: Done
    • 3.0.4, 3.1.6
    • 3.1.7
    • mongodump, mongoexport
    • None
    • Kernel Tools Iteration 6, Kernel Tools Iteration 7
    • Completed

    Description

      mongodump query option is limited to a query that fits on a command line. We have a use case where we generate queries for mongodump and they sometime take more than the 2K bytes limitation in a linux shell.

      In order to overcome the limitation we propose passing the query using a file.

      A pull request will be attached. (we solved it for 2.6.9)

      Attachments

        Issue Links

          Activity

            People

              kyle.erf Kyle Erf
              alonho Alon Horev
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: