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

bsondump tool should work on non-regular files

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • bsondump
    • None

    Description

      Attempted calls (all failed):

      > mongodump -o - -d test -c zips | bsondump
      connected to: 127.0.0.1
      Display BSON objects in a data file.
       
      usage: bsondump [options] <bson filename>
       
      $ mongodump -o - -d test -c zips | bsondump -
      connected to: 127.0.0.1
      error: boost::filesystem::file_size: No such file or directory: "-"
       
      $ bsondump <(mongodump -o - -d test -c zips)
      connected to: 127.0.0.1
      error: boost::filesystem::file_size: Operation not permitted: "/proc/self/fd/11"

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: