Documentation

snapshotdb

Branch your database like code. An isolated, writable copy of production in seconds — across four engines, on infrastructure you own. Open source, self-hosted, Apache-2.0.

snapshotdb keeps a live replica of your production database on a server you run, then cuts copy-on-write branches off it. Each branch is a real, writable database with its own port and its own generated credentials. Unchanged pages share storage; database startup and preparation can still take time.

New here? Start with the Quickstart — preflight a source, wait for its replica to become ready, and create a branch.

What it does

How it compares to hosted branching

The console defaults to SnapshotDB Cloud and can connect to your own server in BYOC mode. The CLI requires your own server URL and admin token; GitHub CLI sign-in does not connect it to a hosted workspace. PostgreSQL, MySQL, and MongoDB use replication; SQLite starts from a server-side file or an empty database. Hosted console sessions use separate workspaces with plan limits and Dodo Payments billing.

Explore