- 最新
- 最多得票
- 最多評論
We were having same issue (with mongodump) since 2023-03-01; and it seems to be an issue with the latess update of mongodb-database-tools
. In the latest version (100.7.0-1) we were facing this issue, so we have to downgrade to previous version and everything is working again:
yum downgrade mongodb-database-tools-100.6.1-1
I don't know if this issue is docDB related, or mongo tools related; but for now I think the only option we have is to downgrade this mongo tools.
I'm actually having the same issue.
I'm migrating from Atlas to DocumentDB and I'm getting the same error "Unknown admin command atlasVersion" when I use mongorestore
command.
Some versions of
mongodb-database-tools
/mongodb-org-tools
stopped working (I would assume by an DocumentDB update). Simply downgrade the version ofmongodb-database-tools
/mongodb-org-tools
you are using. Check the accepted answer for the working versions.
相關內容
- 已提問 1 年前
- AWS 官方已更新 8 個月前
- AWS 官方已更新 8 個月前
Thanks for your answer, I would assume is a change in DocumentDB rather than mongo tools because I've been using the same mongo tools version for a long time. Anyways, I downgraded from mongodb-org-tools=4.4.15 to mongodb-org-tools=4.0.28 following your suggestion and works again.
For reference, this is how I install the tools in my runners:
Great, this helped, mongodump is working again!
This saved me as well, though I'm using Database Tools and not "org tools". I took my package info from MongoDB Database tools. The main page doesn't give you an option to download old versions, but you can just sub out the version number, e.g.:
I was using the official MongoDB docker image and also had to downgrade to mongo:6.0.2.