![](/img/trans.png)
[英]How to connect Mongo Atlas Database in Lambda function with Mongoose
[英]How to transfer database from one mongodb account(1 gmail id) to another, in mongo atlas?
I created one mongodb atlas account with one gmail id and another with another gmail id, Now what I want is to transfer database from one account to another One bruteforce method is to get all data with mongodb.find() and push to respective cluster in另一個帳戶但是你能給我一些更好的 mongodb 地圖集的內置功能嗎? 沒有,項目名稱,項目所有者,組織在兩個帳戶中都不相同。
我明白了,我所做的是使用mongodump
命令轉儲數據庫(創建備份),然后使用mongorestore
將其還原到另一個帳戶。 你不能和它一起使用 mongoshell,你需要安裝一個 mongodatabase 工具來執行這個操作。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.