Mongo 数据导入、导出
导出 mongodump -h dds-2ze36655006280e41539-pub.mongodb.rds.aliyuncs.com:3717 -d source -c gameInfo -u root -p Pe6GLiQ7gCAy4B --authenticationDatabase admin -o /tmp/dump 导入 mongorestore -h dds-2ze11a0112b221d41171-pub.mongodb.rds.aliyuncs.com:3717 -d source -c gameInfo -u root -p SfhpGbqM2uQFr9 --authenticationDatabase admin --dir /tmp/dump/source/gameInfo.bson 导出 "无密码" mongodump -h 127.0.0.1:27017 -d aiphoto -c idphoto_spec -u "" -p "" --authenticationDatabase admin -o /data/idphoto_shop/t1 导入 "无密码" mongorestore -h 127.0.0.1:27017 -d idphoto_shop -c idphoto_spec -u "" -p "" --authenticationDatabase admin --dir /data/idphoto_shop/t1/aiphoto/idphoto_spec.bson