I’m trying to execute the following mongorestore command
mongorestore --drop --gzip -v --uri "mongodb+srv://m220student:email@example.com/test" data
When I put this in my command line, nothing seems to happen. There is no output at all, not even when using --verbose.
When I try to quit the process, I get the message:
signal ‘interrupt’ received; attempting to shut down
This would seem to indicate that it was actually doing something in the background.
However, when I go to the cluster in Atlas, the metrics are all comletely flat.
Logging in with Compass
I also tried to log into the cluster with Compass, to see whether documents were being added or not. However, every time I try to log in, I get this message:
connection 70 to mflix-shard-00-02-y32yt.gcp.mongodb.net:27017 closed
Where the first number increases by a seemingly random amount every time I try to log in.
Given the problems logging in with Compass as well, I’m thinking it might be a problem with my cluster’s settings, but I’m not sure of that at all.
Thanks for the help!