Mongorestore错误解析命令行选项:nsInclude

时间:2018-12-18 09:19:06

标签: mongorestore

我正在尝试使用以下命令还原mongo数据库(MongoBD Shell版本:3.2.7-rc0):

mongorestore --host "172.17.0.12" --port 27500 --authenticationDatabase ccf --username "name" --password "psswd" --gzip --drop --nsInclude "db.collection" --numParallelCollections 1 --numInsertionWorkersPerCollection 4 --bypassDocumentValidation --dir="/dir/"

我得到了错误:

error parsing command line options: unknown option "nsInclude" 
try 'mongorestore --help' for more information

0 个答案:

没有答案