摘要:集合名 数据库名 备份文件位置 mongorestore --collection people --db accounts dump/accounts/people.bson
阅读全文
随笔分类 - MongoDB
摘要:用dump 备份一直提示一个error"error: boost::filesystem::create_directory: The filename, directory name, or volume label syntax is incorrect" while exporting collection "*"用show dbs 查看数据库,发现有个名称为*的数据库,不知道到怎么来的。直接drop掉db.getSiblingDB("*").dropDatabase()错误消失
阅读全文

浙公网安备 33010602011771号