Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-3458

Comment on: "reference/method/db.copyDatabase.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • 01112017-cleanup
    • None
    • manual
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tyler@10gen.com Tyler Brock
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 37 weeks ago