Jean
Jean

Reputation: 5411

mongodump from rasberry OS

I am trying to create a mongodump of my atlas database, but I get the following error:

error parsing command line options: error parsing uri (mongodb+srv://blablabla:[email protected]/DATABASENAME): scheme must be "mongodb"

try 'mongodump --help' for more information

Any idea, I am trying to automate my backups using a bash script.

I tried to change the url from mongodb+srv to mongodb but nothing happen

Upvotes: 1

Views: 178

Answers (1)

D. SM
D. SM

Reputation: 14520

You are using an old version of mongodump that doesn't recognize mongodb+srv URIs. Upgrade mongodump or use a non-SRV URI.

Upvotes: 0

Related Questions