Remove or update Copying a Database example

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Stennie Steneker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: