mongo数据库数据库导入、导出 导出 sudo mongodump -h 数据库地址:27017 -d 数据库名称 -o 指定文件导出到哪里 导入 mongorestore -h 数据库地址:27017 -d 导入到哪个数据库 --dir 从哪个文件导入