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

Mongodump: add option to read query from file

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 3.0.4, 3.1.6
    • Fix Version/s: 3.1.7
    • Component/s: mongodump, mongoexport
    • Labels:
      None
    • Documentation Changes:
      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

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

                Dates

                Created:
                Updated:
                Resolved: