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

Remove or update Copying a Database example

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1
    • Affects Version/s: None
    • Component/s: Docs
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: