This tool allows you to copy a Mongo database from one cluster to another.
- Maintained by: https://github.com/flaviotvrs/mongodb-migration-tools
- Where to address issues: https://github.com/flaviotvrs/mongodb-migration-tools/issues
- MongoDB Shell: https://docs.mongodb.com/mongodb-shell/
- MongoDB Database Tools: https://docs.mongodb.com/database-tools/
python main.py \
--origin mongodb+srv://<username>:<password>@<host>:<port>/<database> \
--destination mongodb+srv://<username>:<password>@<host>:<port>/<database>
python main.py \
--origin mongodb+srv://<username>:<password>@<host>:<port>/<database> \
--destination mongodb+srv://<username>:<password>@<host>:<port>/<database> \
--collection <collection> \
--override-database
python main.py -h