880

mongo備份指令

“
mongodump --host localhost --port 27017 --username root --db
„

分享此文連結 //n.sfs.tw/15771

分享連結 mongo備份指令@igogo
(文章歡迎轉載,務必尊重版權註明連結來源)
2022-04-13 14:17:05 最後編修
2022-04-13 11:40:16 By igogo
 

 

備份

mongodump --host localhost --port 27017 --username root --db google_service --authenticationDatabase admin

 

 

還原

mongorestore  --host localhost --port 27017 --username root --authenticationDatabase admin --nsInclude=google_service.* dump/

 

 

 

參考

https://www.bmc.com/blogs/mongodb-mongorestore/

END

你可能感興趣的文章

tc web 問與答 Q. 填報網址 A. https://tiny.cc/tc-web Q. 出現了以下畫面, 怎麼辦 A. 建議瀏覽器開無

[web]空氣品質嵌入頁面語法 空氣品質, aqi, ajax

網站無障礙規範 https://accessibility.ncc.gov.tw/News/Detail/3238?Category=4

臺中市校務雲端系統與Windows AD帳號整合(1) active directory,ldaps,雲端校務系統

[shell script] 批次判斷domain name 正解設定 判斷dns 正解設定

[web] 自訂模組-打字機與跑馬燈效果 自訂模組-打字機效果

隨機好文

vue.js components 多個組件的呈現 vue.js 組件 component

[vue.js] input event Form-Input-Components-using-Custom-Events

利用maven建立一個可執行的jar檔 利用maven建立一個可執行的jar檔

axios vuejs application/x-www-form-urlencoded 送資料 VUE.JS 以 application/x-www-form-urlencoded 送資料

2018 hoc 掃地機器人 掃地機器人只能打掃沒有障礙物(桌椅、牆壁)的範圍,請寫程式控制機器人打掃餐廳的所有走道, 並在清掃完畢後回到充電器。

精讚::