1MONGODUMP(1) Mongo Database MONGODUMP(1)
2
3
4
6 mongodump - the Mongo dump tool
7
9 mongodump [OPTIONS]
10
12 mongodump is a tool to output a binary representation of a database.
13 It is mostly used for doing hot backups of a database.
14
16 --help show usage information
17
18 -h, --host HOST
19 server to connect to (default HOST=localhost)
20
21 -d, --db DATABASE
22 database to use
23
24 -c, --c COLLECTION
25 collection to use
26
27 -o, --out FILE
28 output file, if not specified, stdout is used
29
30 --dbpath PATH
31 directly access mongod data files in this path, instead of con‐
32 necting to a mongod instance
33
35 Copyright 2007-2009 10gen
36
38 For more information, please refer to the MongoDB wiki, available at
39 http://www.mongodb.org.
40
42 Kristina Chodorow
43
44
45
4610gen June 2009 MONGODUMP(1)