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

mongodump: allow -d option to appear multiple times

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongodump
    • 1
    • 1,229

      If I have multiple databases, it would be nice to be able to dump them all at once by specifying multiple -d options, e.g.,

      mongodump -d dba -d dbb

      The same also applies to the -c option:

      mongodump -d dba -c ca1 -c ca2 -d dbb -c cb2 -c cb3

            Assignee:
            Unassigned Unassigned
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            10 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: