Support for Uri Parameter Instead of Host/Port/User/Password
Jaben opened this issue · comments
Jaben Cargman commented
First of all, thanks for this project -- it's super helpful and does exactly what it needs to do without the noise.
One issue I'm having is that my production replica set servers have different ports. I need to be able to change the connection string to look like this:
target:
host: "mongo-0.mongo.db:27017,mongo-1.mongo.db:27018,mongo-2.mongo.db:27019"
database: "test"
Can it support port specification via host connection string?
Thanks!
Jaben Cargman commented
Mongodump supports a URI param that would fit the bill: https://docs.mongodb.com/manual/reference/program/mongodump/#cmdoption-mongodump-uri