簡體   English   中英

如何在 mongo atlas 中將數據庫從一個 mongodb 帳戶(1 gmail id)轉移到另一個帳戶?

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM