stefanprodan / mgob

MongoDB dockerized backup agent. Runs schedule backups with retention, S3 & SFTP upload, notifications, instrumentation with Prometheus and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Uri Parameter Instead of Host/Port/User/Password

Jaben opened this issue · comments

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!