A CLI tool built in GO that quickly (compared to doing it manually via Compass export collection feature) moves records from a MongoDB source database to a target over two different servers
- Add source and target databases using config file
- Select source and target database
- Select one or more source and target collections
- Manage choices before starting copy
- Filter and pagination options on each table to aid selection
- Manage choices before starting copy
Clone the project
git clone https://github.com/CundyTech/mongo-move.gitGo to the project directory
cd CundyTech/mongo-moveInstall dependencies and build executable
go buildRun executable
.\mongo-move.exe