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 官方已更新 2 年前
- AWS 官方已更新 1 年前