Initialize MongoDB source and Postgres target databases
docker compose up -d
Restore MongoDB database
./restore.sh -d cluster0 -p /path/to/dump/cluster0
Run migration script
npm run migrate
Migration scripts for moving data from Planner's MongoDB to Postgres
TypeScriptMIT
Initialize MongoDB source and Postgres target databases
docker compose up -d
Restore MongoDB database
./restore.sh -d cluster0 -p /path/to/dump/cluster0
Run migration script
npm run migrate