mongodb 导出数据
./mongoexport -h localhost --port 27017 -u xx -p xxmongodb -d xx_gps -c health -o health.dat
h 主机
--port 端口号
-u 用户名
-p 密码
-d 数据库名
-c文档名
-o 输出路径
./mongoexport -h localhost --port 27017 -u xx -p xxmongodb -d xx_gps -c health -o health.dat
h 主机
--port 端口号
-u 用户名
-p 密码
-d 数据库名
-c文档名
-o 输出路径