summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/copyright7
-rw-r--r--debian/files2
-rw-r--r--debian/mongo.1bin0 -> 865 bytes
-rw-r--r--debian/mongodump.136
-rw-r--r--debian/mongoexport.151
-rw-r--r--debian/mongofiles.152
-rw-r--r--debian/mongoimportjson.145
-rw-r--r--debian/mongorestore.136
-rw-r--r--debian/mongos.139
10 files changed, 263 insertions, 7 deletions
diff --git a/debian/changelog b/debian/changelog
index 7386ae2227d..15a806665b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-mongodb (0.9.1-1) unstable; urgency=low
+mongodb (0.9.3-1) unstable; urgency=low
* Initial release
diff --git a/debian/copyright b/debian/copyright
index 4236b9ffd8b..478c6f99424 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -17,10 +17,7 @@ Copyright:
License:
- Apache 2
+ AGPL
The Debian packaging is (C) 2009, Kristina Chodorow <kristina@10gen.com> and
-is licensed under Apache version 2, see `/usr/share/common-licenses/Apache-2.0'.
-
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
+is licensed under the AGPL, see `http://www.fsf.org/licensing/licenses/agpl-3.0.html'.
diff --git a/debian/files b/debian/files
index b5f34826b74..1511a4b2e38 100644
--- a/debian/files
+++ b/debian/files
@@ -1 +1 @@
-mongodb_0.9.1-1_i386.deb devel optional
+mongodb_0.9.3-1_i386.deb devel optional
diff --git a/debian/mongo.1 b/debian/mongo.1
new file mode 100644
index 00000000000..beb66dcfce9
--- /dev/null
+++ b/debian/mongo.1
Binary files differ
diff --git a/debian/mongodump.1 b/debian/mongodump.1
new file mode 100644
index 00000000000..5cb33ce9eb2
--- /dev/null
+++ b/debian/mongodump.1
@@ -0,0 +1,36 @@
+.\" Documentation for the MongoDB dump tool
+.TH MONGODUMP "1" "June 2009" "10gen" "Mongo Database"
+.SH "NAME"
+mongodump \- the Mongo dump tool
+.SH "SYNOPSIS"
+\fBmongodump [\fIOPTIONS\fR]\fR
+.SH "DESCRIPTION"
+.PP
+\fBmongodump\fR
+is a tool to output a binary representation of a database. It is mostly used for doing hot backups of a database.
+.SH "OPTIONS"
+.TP
+.B \-\-help
+show usage information
+.TP
+.B \-h, \-\-host HOST
+server to connect to (default HOST=localhost)
+.TP
+.B \-d, \-\-db DATABASE
+database to use
+.TP
+.B \-c, \-\-c COLLECTION
+collection to use
+.TP
+.B \-o, \-\-out FILE
+output file, if not specified, stdout is used
+.TP
+.B \-\-dbpath PATH
+directly access mongod data files in this path, instead of connecting to a mongod instance
+.SH "COPYRIGHT"
+.PP
+Copyright 2007\-2009 10gen
+.SH "SEE ALSO"
+For more information, please refer to the MongoDB wiki, available at http://www.mongodb.org.
+.SH "AUTHOR"
+Kristina Chodorow
diff --git a/debian/mongoexport.1 b/debian/mongoexport.1
new file mode 100644
index 00000000000..1996b36f31d
--- /dev/null
+++ b/debian/mongoexport.1
@@ -0,0 +1,51 @@
+.\" Documentation for the MongoDB shell
+.TH MONGOEXPORT "1" "June 2009" "10gen" "Mongo Database"
+.SH "NAME"
+mongoexport \- the Mongo export tool
+.SH "SYNOPSIS"
+\fBmongoexport [\fIOPTIONS\fR]\fR
+.SH "DESCRIPTION"
+.PP
+\fBmongoexport\fR
+is a tool to export a MongoDB collection to either JSON or CSV. The query can be filtered or a list of fields to output can be given.
+.PP
+If the output is CSV, the fields must be specified in order.
+.SH "EXAMPLES"
+.TP
+.B mongoexport -d test -c test1 --csv -f "name,num"
+export documents from test.test1 in CSV format
+.SH "OPTIONS"
+.TP
+.B \-\-help
+show usage information
+.TP
+.B \-h, \-\-host HOST
+server to connect to (default HOST=localhost)
+.TP
+.B \-d, \-\-db DATABASE
+database to use
+.TP
+.B \-c, \-\-c COLLECTION
+collection to use
+.TP
+.B \-q, \-\-query QUERY
+query filter
+.TP
+.B \-f, \-\-fields FIELDS
+comma\-separated list of field names
+.TP
+.B \-\-csv
+export to CSV instead of JSON
+.TP
+.B \-o, \-\-out FILE
+output file, if not specified, stdout is used
+.TP
+.B \-\-dbpath PATH
+directly access mongod data files in this path, instead of connecting to a mongod instance
+.SH "COPYRIGHT"
+.PP
+Copyright 2007\-2009 10gen
+.SH "SEE ALSO"
+For more information, please refer to the MongoDB wiki, available at http://www.mongodb.org.
+.SH "AUTHOR"
+Kristina Chodorow
diff --git a/debian/mongofiles.1 b/debian/mongofiles.1
new file mode 100644
index 00000000000..4d7c0c54aff
--- /dev/null
+++ b/debian/mongofiles.1
@@ -0,0 +1,52 @@
+.\" Documentation for the MongoDB dump tool
+.TH MONGOFILES "1" "June 2009" "10gen" "Mongo Database"
+.SH "NAME"
+mongofiles \- a simple GridFS interface
+.SH "SYNOPSIS"
+\fBmongofiles [\fIOPTIONS\fR]\fR
+.SH "DESCRIPTION"
+.PP
+\fBmongofiles\fR
+is used to list, get, and insert files in the database.
+.SH "EXAMPLES"
+.TP
+.B mongofiles list
+lists files in test.fs.files
+.TP
+.B mongofiles put README.txt
+inserts the file README.txt into the collection test.fs.files
+.TP
+.B mongofiles get photo.jpg
+retrieves photo.jpg from test.fs.files and saves it locally
+.SH "OPTIONS"
+.TP
+.B \-\-help
+show usage information
+.TP
+.B \-h, \-\-host HOST
+mongo host to which to connect
+.TP
+.B \-d, \-\-db DB
+database to use (default DB=test)
+.TP
+.B \-c, \-\-collection COLLECTION (default COLLECTION=fs.files)
+collection to use
+.TP
+.B \-\-command [list\||\|search\||\|put\||\|get]
+execute a command
+.TP
+.B \-\-file FILE
+filename for get or put
+.TP
+.B list
+list all files. takes an optional filename. the file has to start with the filename
+.TP
+.B search
+search all files for something that contains the string
+.SH "COPYRIGHT"
+.PP
+Copyright 2007\-2009 10gen
+.SH "SEE ALSO"
+For more information, please refer to the MongoDB wiki, available at http://www.mongodb.org.
+.SH "AUTHOR"
+Kristina Chodorow
diff --git a/debian/mongoimportjson.1 b/debian/mongoimportjson.1
new file mode 100644
index 00000000000..5f3f450693e
--- /dev/null
+++ b/debian/mongoimportjson.1
@@ -0,0 +1,45 @@
+.\" Documentation for the MongoDB shell
+.TH MONGOIMPORTJSON "1" "June 2009" "10gen" "Mongo Database"
+.SH "NAME"
+mongoimportjson \- the Mongo import tool
+.SH "SYNOPSIS"
+\fBmongoimportjson [\fIOPTIONS\fR]\fR
+.SH "DESCRIPTION"
+.PP
+\fBmongoimportjson\fR
+is a tool to import JSON documents into MongoDB. This utility takes a single file that contains one JSON string per line and inserts it. A databaase and collection must be specified.
+.SH "OPTIONS"
+.TP
+.B \-\-help
+show usage information
+.TP
+.B \-h, \-\-host HOST
+server to connect to (default HOST=localhost)
+.TP
+.B \-d, \-\-db DATABASE
+database to use
+.TP
+.B \-c, \-\-c COLLECTION
+collection to use
+.TP
+.B \-\-file FILE
+file from which to import
+.TP
+.B \-\-dbpath PATH
+directly access mongod data files in this path, instead of connecting to a mongod instance
+.TP
+.B \-\-idbefore
+create id index before importing
+.TP
+.B \-\-id
+create id index after importing (recommended)
+.TP
+.B \-\-drop
+drop collection before importing
+.SH "COPYRIGHT"
+.PP
+Copyright 2007\-2009 10gen
+.SH "SEE ALSO"
+For more information, please refer to the MongoDB wiki, available at http://www.mongodb.org.
+.SH "AUTHOR"
+Kristina Chodorow
diff --git a/debian/mongorestore.1 b/debian/mongorestore.1
new file mode 100644
index 00000000000..5f207b0f893
--- /dev/null
+++ b/debian/mongorestore.1
@@ -0,0 +1,36 @@
+.\" Documentation for the MongoDB dump tool
+.TH MONGORESTORE "1" "June 2009" "10gen" "Mongo Database"
+.SH "NAME"
+mongorestore \- the Mongo restoration tool
+.SH "SYNOPSIS"
+\fBmongorestore [\fIOPTIONS\fR]\fR
+.SH "DESCRIPTION"
+.PP
+\fBmongorestore\fR
+is a tool to use the output from mongodump to restore a database.
+.SH "OPTIONS"
+.TP
+.B \-\-help
+show usage information
+.TP
+.B \-h, \-\-host HOST
+server to connect to (default HOST=localhost)
+.TP
+.B \-d, \-\-db DATABASE
+database to use
+.TP
+.B \-c, \-\-c COLLECTION
+collection to use
+.TP
+.B \-\-dir PATH
+directory from which to restore
+.TP
+.B \-\-dbpath PATH
+directly access mongod data files in this path, instead of connecting to a mongod instance
+.SH "COPYRIGHT"
+.PP
+Copyright 2007\-2009 10gen
+.SH "SEE ALSO"
+For more information, please refer to the MongoDB wiki, available at http://www.mongodb.org.
+.SH "AUTHOR"
+Kristina Chodorow
diff --git a/debian/mongos.1 b/debian/mongos.1
new file mode 100644
index 00000000000..74d01c6862e
--- /dev/null
+++ b/debian/mongos.1
@@ -0,0 +1,39 @@
+.\" Documentation for the MongoDB dump tool
+.TH MONGOS "1" "June 2009" "10gen" "Mongo Database"
+.SH "NAME"
+mongos \- the Mongo sharding server
+.SH "SYNOPSIS"
+\fBmongos [\fIOPTIONS\fR]\fR
+.SH "DESCRIPTION"
+.PP
+\fBmongos\fR
+is used to setup, configure, and get information about sharded databases.
+.SH "EXAMPLES"
+.PP
+.B ./mongod --port 9999 --dbpath /data/db/a # first server
+.PP
+.B ./mongod --port 9998 --dbpath /data/db/b # second server
+.PP
+.B ./mongos --configdb localhost:9999 # mongos
+.PP
+starts three servers to set up sharding
+.SH "OPTIONS"
+.TP
+.B \-\-help
+show usage information
+.TP
+.B \-\-port N
+port on which to listen
+.TP
+.B \-\-configdb DATABASE+
+one or more databases to use as the configuration databases
+.TP
+.B \-v+
+verbosity
+.SH "COPYRIGHT"
+.PP
+Copyright 2007\-2009 10gen
+.SH "SEE ALSO"
+For more information, please refer to the MongoDB wiki, available at http://www.mongodb.org.
+.SH "AUTHOR"
+Kristina Chodorow