Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2446

mongodump does not indicate it cannot write to a dump file on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.6.5
    • Fix Version/s: None
    • Component/s: Tools
    • Labels:
      None
    • Environment:
      Windows 7 32 bit
    • Operating System:
      ALL

      Description

      If I open a command prompt as an unprivileged user and cd to c:\windows bsondump will not output an error that it cannot write anything. It will output as if nothing has gone wrong:

      C:\Users\DearingJ>cd \Windows

      C:\Windows>mongodump
      connected to: 127.0.0.1
      all dbs
      DATABASE: driveronlinetests to dump/driveronlinetests
      driveronlinetests.test to dump/driveronlinetests/test.bson
      1 objects
      driveronlinetests.system.indexes to dump/driveronlinetests/system.indexes.bson
      1 objects
      DATABASE: clientRSVP to dump/clientRSVP
      clientRSVP.system.users to dump/clientRSVP/system.users.bson
      3 objects
      clientRSVP.system.indexes to dump/clientRSVP/system.indexes.bson
      14 objects
      clientRSVP.locations to dump/clientRSVP/locations.bson
      1 objects
      clientRSVP.events to dump/clientRSVP/events.bson
      2 objects
      clientRSVP.Locations to dump/clientRSVP/Locations.bson
      0 objects
      clientRSVP.deleteMe to dump/clientRSVP/deleteMe.bson
      1 objects
      clientRSVP.Events to dump/clientRSVP/Events.bson
      0 objects
      clientRSVP.attendees to dump/clientRSVP/attendees.bson
      380 objects
      clientRSVP.administrators to dump/clientRSVP/administrators.bson
      1 objects
      clientRSVP.sessions to dump/clientRSVP/sessions.bson
      10 objects
      DATABASE: test to dump/test
      test.magicdiscriminator to dump/test/magicdiscriminator.bson
      1 objects
      test.system.indexes to dump/test/system.indexes.bson
      1 objects
      DATABASE: admin to dump/admin

      C:\Windows>dir dump
      Volume in drive C has no label.
      Volume Serial Number is 4A83-4EA3

      Directory of C:\Windows

      File Not Found

      C:\Windows>

        Attachments

          Activity

            People

            Assignee:
            spencer Spencer Brody (Inactive)
            Reporter:
            zippy1981 Justin Dearing
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: