Last Updated: February 25, 2016
·
1.331K
· aheckmann

mongorestore the system.profile collection

mongorestore won't let you restore the system.profile collection.. but.. if you really need to, just rename the "system.profile.bson" file to something else like "profile.bson" before restoring.

mongorestore -d test -c profile --drop dump/test/profile.bson