Hi Community,
I am currently joining course m001 and learning how to import and export files with mongodump and mongoexport using the --uri option.
If I try mongodump or mongoexport with – uri like this:
*mongoexport --uri "mongodb+srv://m001-student:************@sandbox.xxxxxxxxx.mongodb.net/myFirstDatabase" --collection sales --out sales.json *
*or*
mongodump --uri="mongodb+srv://m001-student:m001-mongodb:***********@sandbox.xxxxxxxxxx.mongodb.net/myFirstDatabase"
I get this error message: error parsing command line options: error parsing uri (mongodb+srv://m001-student:m001-mongodb:****@sandbox.xxxxxxxx.mongodb.net/myFirstDatabase): scheme must be "mongodb"
As this is already known I tried bing and googe, bur I couldn’t found a solution to fix that. Any help appreciated. Thanks in advance. Uli