fail to do backups after creating a new database
After creating a new database, I tryied to do a backup, and got this error :
Failed: error connecting to db server: server returned error on SASL authentication step: BSON field 'saslContinue.mechanism' is an unknown field.
Coming from the mongodump command ... So, I've done some tryies :
- adding extra_opts
--authenticationDatabase admin... but same error - trying to rebuild the image (because the image on docker hub seems old) => same error
- I check url / connection / testing bad password / username to get differents errors ...
So I try to get the mongodump version, and it say :
mongodump version:
git version: febd112618a4254ff34d0aa2963153235d4101a6
Go version: go1.12.4
os: linux
arch: amd64
compiler: gc
the mongodump seems empty (maybe because self builded) . But comparing with a normal installation :
mongodump version: 100.5.0
git version: 460c7e26f65c4ce86a0b99c46a559dccaba3a07d
Go version: go1.16.3
os: linux
arch: amd64
compiler: gc
It seems the version is not up to date (by checking the go version) .
So, I try to rebuild your https://github.com/tiredofit/docker-mongo-builder to rebuild this with an updated version ...
But the build failed, because a package snowball-dev is missing (but seems not found on alpine website ... ), and no ideas about how to get it ....
Did you have an idea ?
I haven't kept this image up to date for a couple years now. Can you try moving over to tiredofit/db-backup instead and see if that gets you backing up properly?
Hum, interesting ... I will check