
db-branch
Self-hosted, copy-on-write database branching for MySQL and PostgreSQL on ZFS clones — give every pull request, migration test, or AI agent its own disposable copy of a large database in seconds.
db-branch creates instant, copy-on-write clones of a MySQL or PostgreSQL base database using ZFS, so a branch can be created, reset, checkpointed, or deleted in seconds with nothing copied at creation time. A CLI, REST API, web console, and built-in MCP server share one interface, and an optional ProxySQL layer routes connections to the right branch so applications keep a single address. It also supports per-branch major-version upgrades (for example MySQL 8.0 to 8.4) that leave the base and other branches untouched.
The core (this repository) is Apache-2.0 and covers branches, bases, runtimes, clustering, the CLI/API/console, MCP, and monitoring; free modules in the same apt repository add ProxySQL routing and data masking via Greenmask. Paid, closed-source modules (SSO, audit, history, diff, external storage) are self-hosted and unlocked with a license key — there is no hosted or cloud version.
Community feedback
This space is for grounded, evaluable experience — versions used, environments, what you measured or observed, and how it behaves alongside other software. General impressions without supporting detail may be removed. Sign in to write one; posts are tied to a verified identity, not anonymous.