A self-hosted database migration, validation, and reconciliation platform for engineering teams.
1.4K
DbMigrator is an open-source, self-hosted multi-directional database migration and verification platform designed for engineering teams who need to migrate, transform, reconcile, and validate data across relational, NoSQL, and time-series databases with complete confidence.
Run DbMigrator locally using the official Docker Hub image fatihun/db-migrator:latest:
docker run -d \
--name db-migrator \
-p 5000:5000 \
fatihun/db-migrator:latest
Open http://localhost:5000ā in your browser.
Create a docker-compose.yml file:
services:
db-migrator:
image: fatihun/db-migrator:latest
container_name: db-migrator
restart: unless-stopped
environment:
ASPNETCORE_ENVIRONMENT: Production
ASPNETCORE_URLS: http://+:5000
ConnectionStrings__DbMigratorDb: "Data Source=/app/data/db-migrator.db"
Encryption__Key: "YOUR_BASE64_32BYTE_KEY_HERE"
ports:
- "5000:5000"
volumes:
- db-migrator-data:/app/data
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:5000/health || exit 1"]
interval: 10s
timeout: 5s
retries: 5
volumes:
db-migrator-data:
Note: Replace
YOUR_BASE64_32BYTE_KEY_HEREwith a secure 32-byte base64 key.
You can generate one with:openssl rand -base64 32
Run:
docker compose up -d
ToUtcDate, RegexReplace, IntToBool).ObjectId target keys while preserving original source primary keys in legacyId.| Database Engine | Category | Source Support | Target Support | TimeSeries Support | Notes |
|---|---|---|---|---|---|
| PostgreSQL | Relational | ā | ā | ā | Keyset & OFFSET pagination |
| MySQL | Relational | ā | ā | ā | LIMIT-OFFSET cursor |
| MSSQL | Relational | ā | ā | ā | OFFSET-FETCH cursor, auto table creation |
| MongoDB | Document | ā | ā | ā | Cursor streaming, TimeSeries collections |
| TimescaleDB | TimeSeries | ā | ā | ā | Hypertables, chunk-aligned time-ordered writes |
| InfluxDB v2 | TimeSeries | ā | ā | ā | Flux queries, Line Protocol batch writes |
For detailed guides, changelog, and migration tutorials, visit our official website:
š https://db-migrator.comā
Content type
Image
Digest
sha256:b85d1062bā¦
Size
125 MB
Last updated
5 days ago
docker pull fatihun/db-migrator