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

mongorestore on 2.2 fails with "Invalid ns"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker - P1 Blocker - P1
    • None
    • 2.2.0
    • Tools
    • None
    • ALL

    Description

      # mongodump -uuser -ppass --host 127.0.0.1 -o /backups/test1
      connected to: 127.0.0.1
      Thu Oct  4 20:06:42 all dbs
      Thu Oct  4 20:06:42 DATABASE: admin      to /backups/test1/admin
      Thu Oct  4 20:06:42     admin.system.users to /backups/test1/admin/system.users.bson
      Thu Oct  4 20:06:42 doing snapshot query
      Thu Oct  4 20:06:42              2 objects
      Thu Oct  4 20:06:42     Metadata for admin.system.users to /backups/test1/admin/system.users.metadata.json
      Thu Oct  4 20:06:42 DATABASE: test       to /backups/test1/test
      # ls /backups/test1/
      admin  test
      # mongorestore -uuser -ppass /backups/test1/
       
      connected to: 127.0.0.1
      assertion: 13106 nextSafe(): { $err: "Invalid ns [.$cmd]", code: 16256 }

      Attachments

        Activity

          People

            scotthernandez Scott Hernandez (Inactive)
            derek@joyent.com Derek Crudgington
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: