Error parsing command line options: unknown option "uri"

mongorestore --drop --gzip --uri “mongodb+srv://m220student:m220password@xyz.mongodb.net/test” data

Windows 10

Plz Help

May be you are using old version of mongorestore which is not recognizing --uri
Please check this link.It may help

Mongorestore unknown option “uri”

1 Like