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

mongodump --repair --out - creates directory with name "-"(dash) instead of using stdout

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: Legacy C++ Implementation
    • Component/s: mongodump
    • None
    • Environment:
      3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u1 x86_64 GNU/Linux

      When I use command like

       mongodump --dbpath /var/lib/mongodb/ --repair --db=grid_fs -o "-" | gzip -9 > mongodump_out.gz
      

      i see in output log strings like:
      writing to: -/grid_fs/statistics.daily.bson
      and get directory with files instead of using stdout to gzip

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

              Created:
              Updated:
              Resolved: