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

mongorestore on 2.2 fails with "Invalid ns"

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Blocker - P1 Blocker - P1
    • None
    • Affects Version/s: 2.2.0
    • Component/s: Tools
    • None
    • ALL

      # 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 }
      

        1. backup1.tar
          10 kB
          Derek Crudgington

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

              Created:
              Updated:
              Resolved: