[DOCS-3458] Comment on: "reference/method/db.copyDatabase.txt" Created: 22/May/14  Updated: 11/Jan/17  Resolved: 27/Jul/16

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Improvement Priority: Minor - P4
Reporter: Tyler Brock Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 9 years, 37 weeks ago

 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.


 Comments   
Comment by Alexander Komyagin [ 04/Jun/14 ]

old style user == 2.2 model

Generated at Thu Feb 08 07:45:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.