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

Mongodump: add option to read query from file

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.1.7
    • Affects Version/s: 3.0.4, 3.1.6
    • Component/s: mongodump, mongoexport
    • None
    • Kernel Tools Iteration 6, Kernel Tools Iteration 7
    • Completed

      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)

        1. dump_query
          301 kB
          Alon Horev

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

              Created:
              Updated:
              Resolved: