Mongorestore command string is failing!

My command string for importing mongodb files to Atlas is failing.

C:\Users\Richard\mflix-js>;mongorestore --drop --gzip --uri “mongodb+srv://” data

The error message that mongorestore gives me is:

2019-04-15T00:26:01.250-0400 error parsing command line options: invalid argument for flag “/uri” (expected string): invalid syntax

I know that my id/password and url are correct in that I’m able to connect to Atlas from mongo using them. Please help. Thanks. Richard

You’d forgotten to use “” symbol
Because this expression is a multiline, left slash is used like a delimiter for visualization

1 Like

Valerii, thanks, removal of the left slash allowed the import to succeed.