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

Mongodump: Support "--limit" option

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: mongodump
    • Labels:
      None
    • Environment:
      Linux, Mac OS X
    • Needed
    • Hide
      This would require including documentation for the limit option, which limits the number of records outputted for a given collection on this page (https://docs.mongodb.com/manual/reference/program/mongodump/#cmdoption-query).
      Show
      This would require including documentation for the limit option, which limits the number of records outputted for a given collection on this page ( https://docs.mongodb.com/manual/reference/program/mongodump/#cmdoption-query ).

      Similar to mongoexport's limit option, support a way to limit records outputted by the mongodump tool for a given collection independent of the {--query} flag.

      Usage would look like:

      mongodump -d <database> -c <collection> --limit <positive integer>
      

            Assignee:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Reporter:
            stephenmalina Stephen Malina
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: