I am just following the steps from the video lecture and see that the statement vagrant@m312:~$ mongorestore -d m312 -c norberto_friends /dataset/friends_10.json does not work when I tried to execute on the vagrant environment provided, but it is shown as working in the video lesson. I google’d and found out that the args -d and -c should be used for .bson files and --db and --collection should be used for .json files and believe me I have not seen in any of the courses that I did on mongodb university that this has been mentioned.
Even though this is advanced course the basic thing does not work when I follow along the video. Just wanted to bring to your notice that even though you have mastered or have done other courses always there is a learning curve . Also not sure when these videos were recorded. Please add some lecture notes wherever necessary !
I was able to import successfully,when i used the following statement
vagrant@m312:~$ mongoimport --db m312 --collection norberto_friends --file /dataset/friends_10.json
2019-04-18T16:15:58.298+0000 connected to: localhost
2019-04-18T16:15:58.339+0000 imported 10