Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3138

Remove or update Copying a Database example

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1
    • Docs
    • None

    Description

      The current PyMongo documentation includes an example using the copydb command which was deprecated in MongoDB 4.0 and removed in MongoDB 4.2.

      This example should be removed or updated with pointers to a supported approach: https://pymongo.readthedocs.io/en/stable/examples/copydb.html

      Recommendation in the 4.2 release notes:

      As alternatives, users can use mongodump and mongorestore (with the mongorestore options --nsFrom and --nsTo) or write a script using the drivers.

      Attachments

        Activity

          People

            shane.harvey@mongodb.com Shane Harvey
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: