Some notes
Posted kevin1988
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Some notes相关的知识,希望对你有一定的参考价值。
https://www.lifewire.com/net-command-2618094
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/rd
2019 NWYXM-TVJHK-RV6P3-VCQ7Y-YWT64
RestoreMongodb.js
mongodump --sslAllowInvalidCertificates --uri "mongodb://siteRootAdmin:pass1234@HKDBSUWV002:29031,HKDBSUWV002:29032,HKDBSUWV002:29033/Mark?ssl=true&replicaSet=rs_DigitalMaker&readPreference=primaryPreferred&authSource=admin" -o c:/mongodb_backup/
mongorestore --sslAllowInvalidCertificates --uri "mongodb://siteRootAdmin:Pass1234@HKDBSUWV004.uat.cn.asia.ad.pwcinternal.com:29031,HKDBSUWV004.uat.cn.asia.ad.pwcinternal.com:29032,HKDBSUWV004.uat.cn.asia.ad.pwcinternal.com:29033/?ssl=true" C:mongodb_backup
mongodump --h localhost:29031 -u=siteRootAdmin -p=pass1234 --authenticationDatabase admin -d PwCGlobal_ProposalLibrary -c TEST2 -o c:/mongodb/backup0326
mongorestore -h localhost:29031 -u=siteRootAdmin -p=pass1234 --authenticationDatabase admin -d PwCGlobal_ProposalLibrary -c TEST2 c:/mongodb/backup0326/PwCGlobal_ProposalLibrary/TEST2.bson
以上是关于Some notes的主要内容,如果未能解决你的问题,请参考以下文章