Chapter 1 drive setup mongorestore

I want to make sure that everyone else does not get stuck in this very small error. It is an instructor error not a you error…

if you want to import that data to your cluster… just the following command:

mongorestore --drop --gzip --host mflix-shard-0/mflix-shard-00-00-pah9o.mongodb.net:27017,mflix-shard-00-01-les9o.mongodb.net:27017,mflix-shard-00-02-les9o.mongodb.net:27017 --ssl --username --password data

you can find the mongorestore link for your cluster under: sandbox>command line tools> Copy mongorestore link.
Then Modify the link to the example i gave you! just update the password and add --drop --gzip and data to the end!

1 Like