Mehmet Ergülcü

Data Transporter

· 1 min

gorestpostgresqloraclesql-server

A service that copies data from one database to another: it runs a query on the source and writes the rows to the target with a parameterized insert or update, in batches. Written in Go as one binary without a Java runtime or JDBC drivers; it replaces an earlier Spring Boot version.

Supported databases: PostgreSQL, MySQL, MariaDB, SQL Server and Oracle (and SQLite when allowed). All drivers are pure Go, so no client libraries are needed.

What is inside?

  • Streaming reads: the source rows are written as they arrive; the result is never held in memory.
  • Transactional writes: commitMode: ALL (the default) writes everything or nothing; BATCH commits every batchSize rows, for transfers too large for one transaction.
  • Named parameters (:name) in the target query, matched to the source columns ignoring case, because Oracle reports upper case names.
  • Saved connections that survive a restart. Their passwords are stored encrypted (AES-256-GCM, key derived with PBKDF2) and are never returned by the API. The key is generated randomly on the first start, or you provide your own.
  • Synchronous or background runs, with progress and cancellation.
  • HTTP Basic authentication on every endpoint except the health check; without a configured password a random one is printed at startup.
go run ./cmd/datatransporter            # http://localhost:8888
docker compose up --build               # with a PostgreSQL and a MySQL database to try it on

Source code: github.com/ergulcu/data-transporter

© 2026 Mehmet Ergülcü SvelteKit · Tailwind · <1 KB JS