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

    XMLWordPrintableJSON

Details

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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: