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
Written by Aaron Heckmann
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mongodb
Authors
dominikgarber
81.15K
sativaware
80.22K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#