mongodump --host $CONNECTION --db $DATABASE --username $USER --password
The error message is the following, even though I would expect a password prompt:
2015-03-06T21:11:47.185+0100 error parsing command line options: expected argument for flag `-p, --password'
2015-03-06T21:11:47.185+0100 try 'mongodump --help' for more information
I've tried to add the parameters "--authenticationDatabase $DATABASE --authenticationMechanism MONGODB-CR" before the --password, but this didn't change anything.
According to http://docs.mongodb.org/manual/reference/program/mongorestore/#cmdoption--password I would expect the interactive password prompt to work as before. And I really want to keep it interactive.
Any ideas? Bug in mongodump 3.0.0? Database version 2.4.x is too old to get a dump from with mongodump 3.0.0?
Thanks,
Philipp
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/2d5924b0-b1a7-4b7a-8fca-90bb3807be66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.