summaryrefslogtreecommitdiff
path: root/debian/mongofiles.1
diff options
context:
space:
mode:
authorSam Kleinman <samk@10gen.com>2015-01-30 16:44:56 -0500
committerSam Kleinman <samk@10gen.com>2015-01-30 18:18:58 -0500
commitca12273ba6876c4239c824bbe83a27bd328b051f (patch)
treec390110edd2fcd06a79e73a7c3e3aea84813b5bc /debian/mongofiles.1
parent8e11987b6f7f393bbf1c468f7626d2a4993ae0cb (diff)
downloadmongo-ca12273ba6876c4239c824bbe83a27bd328b051f.tar.gz
SERVER-17136: update manpages
Diffstat (limited to 'debian/mongofiles.1')
-rw-r--r--debian/mongofiles.1216
1 files changed, 155 insertions, 61 deletions
diff --git a/debian/mongofiles.1 b/debian/mongofiles.1
index 9cb2b31dafd..5ef1a35d9d9 100644
--- a/debian/mongofiles.1
+++ b/debian/mongofiles.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "MONGOFILES" "1" "March 18, 2014" "2.6" "mongodb-manual"
+.TH "MONGOFILES" "1" "January 30, 2015" "3.0" "mongodb-manual"
.SH NAME
mongofiles \- MongoDB GridFS Utility
.
@@ -76,14 +76,19 @@ For \fIreplica sets\fP,
.UNINDENT
.UNINDENT
.SH OPTIONS
+.sp
+Changed in version 3.0.0: \fBmongofiles\fP removed the \fB\-\-dbpath\fP as well as related
+\fB\-\-directoryperdb\fP and \fB\-\-journal\fP options. You must use
+\fBmongofiles\fP while connected to a \fBmongod\fP instance.
+
.INDENT 0.0
.TP
.B mongofiles
.UNINDENT
.INDENT 0.0
.TP
-.B \-\-help, \-h
-Returns information on \fBmongofiles\fP options and usage.
+.B \-\-help
+Returns information on the options and use of \fBmongofiles\fP\&.
.UNINDENT
.INDENT 0.0
.TP
@@ -95,8 +100,10 @@ including the option multiple times, (e.g. \fB\-vvvvv\fP\&.)
.INDENT 0.0
.TP
.B \-\-quiet
-Runs \fBmongofiles\fP in a quiet mode that attempts to limit the amount of
-output. This option suppresses:
+Runs the \fBmongofiles\fP in a quiet mode that attempts to limit the amount
+of output.
+.sp
+This option suppresses:
.INDENT 7.0
.IP \(bu 2
output from \fIdatabase commands\fP
@@ -126,16 +133,17 @@ on a port other than 27017.
.INDENT 0.0
.TP
.B \-\-port <port>
-Specifies the port number when the MongoDB instance is not running on the
-standard port of \fB27017\fP\&. You may also specify the port number
-using the \fB\-\-host\fP option.
+\fIDefault\fP: 27017
+.sp
+Specifies the TCP port on which the MongoDB instance listens for
+client connections.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-ipv6
-Enables IPv6 support, which allows \fBmongofiles\fP to connect to the MongoDB
-instance using an IPv6 network. All MongoDB programs and processes,
-including \fBmongofiles\fP, disable IPv6 support by default.
+Enables IPv6 support and allows the \fBmongofiles\fP to connect to the
+MongoDB instance using an IPv6 network. All MongoDB programs and
+processes disable IPv6 support by default.
.UNINDENT
.INDENT 0.0
.TP
@@ -161,6 +169,21 @@ from the Certificate Authority. Specify the file name of the
.sp
The default distribution of MongoDB does not contain support for SSL.
For more information on MongoDB and SSL, see http://docs.mongodb.org/manual/tutorial/configure\-ssl\&.
+.sp
+\fBWARNING:\fP
+.INDENT 7.0
+.INDENT 3.5
+If the \fBmongo\fP shell or any other tool that connects to
+\fBmongos\fP or \fBmongod\fP is run without
+\fI\-\-sslCAFile\fP, it will not attempt to validate
+server certificates. This results in vulnerability to expired
+\fBmongod\fP and \fBmongos\fP certificates as well as to foreign
+processes posing as valid \fBmongod\fP or \fBmongos\fP
+instances. Ensure that you \fIalways\fP specify the CA file against which
+server certificates should be validated in cases where intrusion is a
+possibility.
+.UNINDENT
+.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
@@ -174,8 +197,8 @@ or absolute paths.
.sp
This option is required when using the \fI\-\-ssl\fP option to connect
to a \fBmongod\fP or \fBmongos\fP that has
-\fBsslCAFile\fP enabled \fIwithout\fP
-\fBsslWeakCertificateValidation\fP\&.
+\fBCAFile\fP enabled \fIwithout\fP
+\fBallowConnectionsWithoutCertificates\fP\&.
.sp
The default distribution of MongoDB does not contain support for SSL.
For more information on MongoDB and SSL, see http://docs.mongodb.org/manual/tutorial/configure\-ssl\&.
@@ -187,13 +210,13 @@ New in version 2.6.
.sp
Specifies the password to de\-crypt the certificate\-key file (i.e.
-\fI\-\-sslPEMKeyFile\fP). Use \fI\-\-sslPEMKeyPassword\fP only if
-the certificate\-key file is encrypted. In all cases, \fBmongofiles\fP will
+\fI\-\-sslPEMKeyFile\fP). Use the \fI\-\-sslPEMKeyPassword\fP option only if the
+certificate\-key file is encrypted. In all cases, the \fBmongofiles\fP will
redact the password from all logging and reporting output.
.sp
If the private key in the PEM file is encrypted and you do not specify
-\fI\-\-sslPEMKeyPassword\fP, \fBmongofiles\fP will prompt for a passphrase.
-See \fIssl\-certificate\-password\fP\&.
+the \fI\-\-sslPEMKeyPassword\fP option, the \fBmongofiles\fP will prompt for a passphrase. See
+\fIssl\-certificate\-password\fP\&.
.sp
The default distribution of MongoDB does not contain support for SSL.
For more information on MongoDB and SSL, see http://docs.mongodb.org/manual/tutorial/configure\-ssl\&.
@@ -219,7 +242,7 @@ New in version 2.6.
.sp
Bypasses the validation checks for server certificates and allows
the use of invalid certificates. When using the
-\fBsslAllowInvalidCertificates\fP setting, MongoDB logs as a
+\fBallowInvalidCertificates\fP setting, MongoDB logs as a
warning the use of the invalid certificate.
.sp
The default distribution of MongoDB does not contain support for SSL.
@@ -227,30 +250,49 @@ For more information on MongoDB and SSL, see http://docs.mongodb.org/manual/tuto
.UNINDENT
.INDENT 0.0
.TP
+.B \-\-sslAllowInvalidHostnames
+New in version 3.0.
+
+.sp
+Disables the validation of the hostnames in SSL certificates. Allows
+\fBmongofiles\fP to connect to MongoDB instances if the hostname their
+certificates do not match the specified hostname.
+.UNINDENT
+.INDENT 0.0
+.TP
.B \-\-sslFIPSMode
New in version 2.6.
.sp
-Directs \fBmongofiles\fP to use the FIPS mode of the installed OpenSSL
-library. Your system must
-have a FIPS compliant OpenSSL library to use \fI\-\-sslFIPSMode\fP\&.
+Directs the \fBmongofiles\fP to use the FIPS mode of the installed OpenSSL
+library. Your system must have a FIPS compliant OpenSSL library to use
+the \fI\-\-sslFIPSMode\fP option.
.sp
-The default distribution of MongoDB does not contain support for SSL.
-For more information on MongoDB and SSL, see http://docs.mongodb.org/manual/tutorial/configure\-ssl\&.
+\fBNOTE:\fP
+.INDENT 7.0
+.INDENT 3.5
+FIPS Compatible SSL is
+available only in \fI\%MongoDB Enterprise\fP\&. See
+http://docs.mongodb.org/manual/tutorial/configure\-fips for more information.
+.UNINDENT
+.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
-.B \-\-username <username>, \-u
+.B \-\-username <username>, \-u <username>
Specifies a username with which to authenticate to a MongoDB database
that uses authentication. Use in conjunction with the \fB\-\-password\fP and
\fB\-\-authenticationDatabase\fP options.
.UNINDENT
.INDENT 0.0
.TP
-.B \-\-password <password>, \-p
+.B \-\-password <password>, \-p <password>
Specifies a password with which to authenticate to a MongoDB database
that uses authentication. Use in conjunction with the \fB\-\-username\fP and
\fB\-\-authenticationDatabase\fP options.
+.sp
+If you do not specify an argument for \fI\-\-password\fP, \fBmongofiles\fP will
+prompt interactively for a password on the console.
.UNINDENT
.INDENT 0.0
.TP
@@ -259,62 +301,97 @@ New in version 2.4.
.sp
Specifies the database that holds the user\(aqs credentials.
-If you do not specify an authentication database, \fBmongofiles\fP assumes
-that the database specified as the argument to the \fI\-\-db\fP option
-holds the user\(aqs credentials.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-authenticationMechanism <name>
+\fIDefault\fP: MONGODB\-CR
+.sp
New in version 2.4.
.sp
-Specifies the authentication mechanism. By default, the authentication
-mechanism is \fBMONGODB\-CR\fP, which is the MongoDB challenge/response
-authentication mechanism. In MongoDB Enterprise, \fBmongofiles\fP also includes
-support for \fBGSSAPI\fP to handle Kerberos authentication. See
-http://docs.mongodb.org/manual/tutorial/control\-access\-to\-mongodb\-with\-kerberos\-authentication
-for more information about Kerberos authentication.
-.UNINDENT
-.INDENT 0.0
-.TP
-.B \-\-dbpath <path>
-Specifies the directory of the MongoDB data files. If used, the
-\fI\-\-dbpath\fP option enables \fBmongofiles\fP to attach directly to local data
-files without a running \fBmongod\fP\&. When run with \fI\-\-dbpath\fP,
-\fBmongofiles\fP locks access to the data directory. No \fBmongod\fP can
-access the same path while the process runs.
-.UNINDENT
-.INDENT 0.0
-.TP
-.B \-\-directoryperdb
-When used in conjunction with the corresponding option in
-\fBmongod\fP, allows \fBmongofiles\fP to access data from MongoDB
-instances that use an on\-disk format where every database has a distinct
-directory. This option is only relevant when specifying the
-\fI\-\-dbpath\fP option.
+Changed in version 2.6: Added support for the \fBPLAIN\fP and \fBMONGODB\-X509\fP authentication
+mechanisms.
+
+.sp
+Specifies the authentication mechanism the \fBmongofiles\fP instance uses to
+authenticate to the \fBmongod\fP or \fBmongos\fP\&.
+.TS
+center;
+|l|l|.
+_
+T{
+Value
+T} T{
+Description
+T}
+_
+T{
+MONGODB\-CR
+T} T{
+MongoDB challenge/response authentication.
+T}
+_
+T{
+MONGODB\-X509
+T} T{
+MongoDB SSL certificate authentication.
+T}
+_
+T{
+PLAIN
+T} T{
+External authentication using LDAP. You can also use \fBPLAIN\fP
+for authenticating in\-database users. \fBPLAIN\fP transmits
+passwords in plain text. This mechanism is available only in
+\fI\%MongoDB Enterprise\fP\&.
+T}
+_
+T{
+GSSAPI
+T} T{
+External authentication using Kerberos. This mechanism is
+available only in \fI\%MongoDB Enterprise\fP\&.
+T}
+_
+.TE
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-gssapiServiceName
+New in version 2.6.
+
+.sp
+Specify the name of the service using \fBGSSAPI/Kerberos\fP\&. Only required if the service does not use the
+default name of \fBmongodb\fP\&.
+.sp
+This option is available only in MongoDB Enterprise.
.UNINDENT
.INDENT 0.0
.TP
-.B \-\-journal
-Allows \fBmongofiles\fP operations to use the durability \fIjournal\fP to
-ensure data files remain valid and recoverable. This option is only
-relevant when specifying the \fI\-\-dbpath\fP option.
+.B \-\-gssapiHostName
+New in version 2.6.
+
+.sp
+Specify the hostname of a service using \fBGSSAPI/Kerberos\fP\&. \fIOnly\fP required if the hostname of a machine does
+not match the hostname resolved by DNS.
+.sp
+This option is available only in MongoDB Enterprise.
.UNINDENT
.INDENT 0.0
.TP
-.B \-\-db <database>, \-d
-Specifies the name of the database on which to run \fBmongofiles\fP\&.
+.B \-\-db <database>, \-d <database>
+Specifies the name of the database on which to run the \fBmongofiles\fP\&.
.UNINDENT
.INDENT 0.0
.TP
-.B \-\-collection <collection>, \-c
+.B \-\-collection <collection>, \-c <collection>
This option has no use in this context and a future release may
remove it. See \fI\%SERVER\-4931\fP for more information.
.UNINDENT
.INDENT 0.0
.TP
-.B \-\-local <filename>, \-l
+.B \-\-local <filename>, \-l <filename>
Specifies the local filesystem name of a file for get and put
operations.
.sp
@@ -343,6 +420,23 @@ additional object with the same name.
In the default operation, files will not be overwritten by a
\fBmongofiles put\fP option.
.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-prefix string
+\fIDefault\fP: fs
+.sp
+GridFS prefix to use.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-\-writeConcern <document>
+\fIDefault\fP: majority
+.sp
+Specifies the \fIwrite concern\fP for each write operation that \fBmongofiles\fP
+writes to the target database.
+.sp
+Specify the write concern as a document with \fIw options\fP\&.
+.UNINDENT
.SH COMMANDS
.INDENT 0.0
.TP
@@ -487,6 +581,6 @@ mongofiles \-d records get 32\-corinth.lp
.SH AUTHOR
MongoDB Documentation Project
.SH COPYRIGHT
-2011-2014, MongoDB, Inc.
+2011-2015
.\" Generated by docutils manpage writer.
.