# ./mongodump -h your_host --port your_port -d your_db_name -u=your_db_user -p=your_db_password -o dir_to_save_backup
执行过程...:#mongorestore -h localhost:27017 -d your_db_name -u=your_user_name -p=your_password --dir path_to_backup
参数说明:地址:https://www.leftso.com/article/51.html