NAME¶
mongodump - the Mongo dump tool
SYNOPSIS¶
mongodump [OPTIONS]
DESCRIPTION¶
mongodump is a tool to output a binary representation of a database. It
is mostly used for doing hot backups of a database.
OPTIONS¶
- --help
- show usage information
- -h, --host HOST
- server to connect to (default HOST=localhost)
- -d, --db DATABASE
- database to use
- -c, --c COLLECTION
- collection to use
- -o, --out FILE
- output file, if not specified, stdout is used
- --dbpath PATH
- directly access mongod data files in this path, instead of
connecting to a mongod instance
COPYRIGHT¶
Copyright 2007-2009 10gen
SEE ALSO¶
For more information, please refer to the MongoDB wiki, available at
http://www.mongodb.org.
AUTHOR¶
Kristina Chodorow