Details
-
Improvement
-
Resolution: Won't Fix
-
Minor - P4
-
None
-
None
Description
for MongoDB 2.4: This command also takes a username and password and will not work with new style users.
Also in order for the command to work in 2.4:
- Create an old style database user on the source database.
- Create an old style admin user on the destination mongod ("admin" database).
- Log in as the old style admin user on the destination mongod.
- Issuing the copy database command on the destination specifying the source host and the old style database user we created on the source host's credentials.