Not able to load data mongorestore

C:\Users\shaurya\Downloads\mflix-java>mongorestore --drop --gzip --uri mongodb+srv://mflix-auf22.mongodb.net/test" --username m220student
2019-04-14T19:51:30.106+0530 using default ‘dump’ directory
2019-04-14T19:51:30.109+0530 see mongorestore --help for usage information
2019-04-14T19:51:30.111+0530 Failed: mongorestore target ‘dump’ invalid: FindFirstFile dump: The system cannot find the file specified.

try this:

mongorestore --drop --gzip --uri mongodb+srv://m220student:m220password@mflix-auf22.mongodb.net data

1 Like