CREATING DUMPS: MongoDB shell version: 2.5.0-pre- connecting to: test { "dropped" : "test", "ok" : 1 } MongoDB shell version: 2.5.0-pre- connecting to: test { "ok" : 1 } connected to: 127.0.0.1 Mon Apr 8 13:56:02.785 all dbs Mon Apr 8 13:56:02.786 DATABASE: test to dump-master/test Mon Apr 8 13:56:02.788 test.system.indexes to dump-master/test/system.indexes.bson Mon Apr 8 13:56:02.789 1 objects Mon Apr 8 13:56:02.789 test.coll to dump-master/test/coll.bson Mon Apr 8 13:56:02.790 0 objects Mon Apr 8 13:56:02.790 Metadata for test.coll to dump-master/test/coll.metadata.json MongoDB shell version: 2.2.3 connecting to: test { "dropped" : "test", "ok" : 1 } MongoDB shell version: 2.2.3 connecting to: test { "ok" : 1 } connected to: 127.0.0.1 Mon Apr 8 13:56:03 all dbs Mon Apr 8 13:56:03 DATABASE: test to dump-r2.2.3/test Mon Apr 8 13:56:03 test.coll to dump-r2.2.3/test/coll.bson Mon Apr 8 13:56:03 0 objects Mon Apr 8 13:56:03 Metadata for test.coll to dump-r2.2.3/test/coll.metadata.json RESTORE TESTING: ./master/bin/mongorestore dump-master MongoDB shell version: 2.5.0-pre- connecting to: test { "dropped" : "test", "ok" : 1 } connected to: 127.0.0.1 Mon Apr 8 13:56:03.778 dump-master/test/coll.bson Mon Apr 8 13:56:03.778 going into namespace [test.coll] Mon Apr 8 13:56:03.995 Created collection test.coll with options: { "create" : "coll", "capped" : { "$undefined" : true }, "size" : { "$undefined" : true } } Mon Apr 8 13:56:03.995 file dump-master/test/coll.bson empty, skipping Mon Apr 8 13:56:03.995 Creating index: { key: { _id: 1 }, ns: "test.coll", name: "_id_" } ./r2.2.3/bin/mongorestore dump-master MongoDB shell version: 2.2.3 connecting to: test { "dropped" : "test", "ok" : 1 } connected to: 127.0.0.1 Mon Apr 8 13:56:04 dump-master/test/coll.bson Mon Apr 8 13:56:04 going into namespace [test.coll] assertion: 15936 Creating collection test.coll failed. Errmsg: exception: specify size: when capped is true ./master/bin/mongorestore dump-r2.2.3 MongoDB shell version: 2.5.0-pre- connecting to: test { "dropped" : "test", "ok" : 1 } connected to: 127.0.0.1 Mon Apr 8 13:56:04.423 dump-r2.2.3/test/coll.bson Mon Apr 8 13:56:04.423 going into namespace [test.coll] Mon Apr 8 13:56:04.642 Created collection test.coll with options: { "create" : "coll", "capped" : { "$undefined" : true }, "size" : { "$undefined" : true } } Mon Apr 8 13:56:04.642 file dump-r2.2.3/test/coll.bson empty, skipping Mon Apr 8 13:56:04.642 Creating index: { key: { _id: 1 }, ns: "test.coll", name: "_id_" } ./r2.2.3/bin/mongorestore dump-r2.2.3 MongoDB shell version: 2.2.3 connecting to: test { "dropped" : "test", "ok" : 1 } connected to: 127.0.0.1 Mon Apr 8 13:56:05 dump-r2.2.3/test/coll.bson Mon Apr 8 13:56:05 going into namespace [test.coll] assertion: 15936 Creating collection test.coll failed. Errmsg: exception: specify size: when capped is true