Note that mongos does not support copydb with auth.

This commit is contained in:
A. Jesse Jiryu Davis 2014-11-10 19:48:42 -05:00
parent cd3d37b43a
commit eb5d4f61bf

View File

@ -1405,6 +1405,10 @@ class MongoClient(common.BaseObject):
MongoDB 2.8 and later, MONGODB-CR (MongoDB Challenge Response
protocol) for older servers.
.. note:: mongos does not support copying a database from a server
with authentication, see
`SERVER-6427 <https://jira.mongodb.org/browse/SERVER-6427>`_.
:Parameters:
- `from_name`: the name of the source database
- `to_name`: the name of the target database