reactioncommerce / mongo-s3-backup

A Docker container to backup a MongoDB deployment to S3 and list or restore those backups.
5 stars 9 forks source link

Mongo 4.2.0 no longer uses replica set name in the host string #3

Closed ghost closed 3 years ago

ghost commented 3 years ago

https://github.com/reactioncommerce/mongo-s3-backup#backup

Instructions are out of date. Not sure when they went out of date but rs0/ in the example is no longer accurate. When included the following warning is thrown:

WARNING: ignoring unsupported URI parameter 'replicaset'
ghost commented 3 years ago

After further investigation MongoDB 4.2 docs continue providing format rs0/foo,bar,baz connection string settings for --host. Given that and the fact the warning is explicitly stating replicaset is a query param so there's something else going on. Warning observed on the #5 source. It's not possible to test from master without a cached image so I have nothing to compare to, unfortunately. The fact it's a warning, however, leads me to believe I was just doing something wrong and this may not be an issue. Closing until it is...