Document DB upgrade from 4 to 5

0

Hi Team

we are migrating document db from engine 4 to 5 by using below document.. DMS migrated data but it did not migrate users. please let us know if there is different steps or documentation AWS mention for the migrating users https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-migration.versions.html

已提問 9 個月前檢視次數 615 次
2 個答案
0

Hello, this is currently a limitation with DocumentDB.

Since, DocumentDB does not have an admin database, it does not dump or restore the admin database when using the mongodump or mongorestore utilities, and that's why users/roles were not migrated using DMS. https://docs.aws.amazon.com/documentdb/latest/developerguide/functional-differences.html#functional-differences.mongo-apis

You can either re-create the users/roles, or you can use the Export Users tool to export Amazon DocumentDB or MongoDB users to a file, which can then be used to import to the other instance. (Note: Passwords are not exported) https://github.com/awslabs/amazon-documentdb-tools/tree/master/migration/export-users

AWS
支援工程師
AnushaG
已回答 9 個月前
profile pictureAWS
專家
已審閱 9 個月前
0

Thanks for the reply.

已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南