1MONGORESTORE(1) Mongo Database MONGORESTORE(1)
2
3
4
6 mongorestore - the Mongo restoration tool
7
9 mongorestore [OPTIONS]
10
12 mongorestore is a tool to use the output from mongodump to restore a
13 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 --dir PATH
28 directory from which to restore
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 MONGORESTORE(1)