Details
Description
With mongodump-2.4, this works:
$ mongodump-2.4 -d "admin" -c "system.users"
|
connected to: 127.0.0.1
|
Tue Feb 25 13:53:12.167 DATABASE: admin to dump/admin
|
Tue Feb 25 13:53:12.167 admin.system.users to dump/admin/system.users.bson
|
Tue Feb 25 13:53:12.168 1 objects
|
Tue Feb 25 13:53:12.168 Metadata for admin.system.users to dump/admin/system.users.metadata.json
|
$
|
but doing the same thing, against the same db, with 2.6rc0 mongodump writes no output file:
$ mongodump-2.6 -d "admin" -c "system.users"
|
connected to: 127.0.0.1
|
2014-02-25T13:54:36.635-0500 DATABASE: admin to dump/admin
|
$
|
however, it looks like other collections (system.roles, system.version, etc) do get dumped as expected.
We need to be able to dump system.users in order to complete the multi-tenant user dump/restore process outlined in Matt's comment on QA-404: