[TOC] ## 备份 ``` mongodump -h dbhost -d dbname -o dbdirectory ``` eg: ``` mongodump [-h 127.0.0.1[:27017]] -d demo -o c:\data\dump ```