Introduction
Track every database change and recover anything from the web console. Free and self-hosted.
dbtrail tails your database's replication stream, keeps every row change with full before/after images in a searchable index, and turns "someone ran the wrong UPDATE" from a restore-from-backup incident into a two-minute fix. From the web console you add servers, browse every change, generate exact reversal SQL for just the damaged rows, and time-travel any row to any moment, or ask Claude to do it for you.

Sources: MySQL and Percona Server 8.0/8.4 (including RDS, Aurora, and Cloud SQL), PostgreSQL 14+ in beta, and MariaDB 10.6+ in alpha.
These docs are console-first
The web console is the primary interface and what these pages document. A full-featured CLI exists for headless and scripted deployments; it's documented in the repository: CLI & operations reference.
Open core
The engine documented here is free, open source (Apache-2.0), and self-hosted, forever. Paid plans all unlock the same commercial edition, dbtrail EE (forensics attribution, full RBAC, audit export, column redaction, and BYOS); the paid plans differ only in who runs it, up to a fully Managed option where dbtrail operates the index for you.
Open Source
Self-hosted, Apache-2.0. One install script stands up the console, the capture pipeline, and a bundled index database.
dbtrail EE & Plans
What the commercial edition adds, and how the plans (including Managed) work.
Start here
Quick Start
Install the console and start tracking changes in minutes.
PostgreSQL (Beta)
Capture from PostgreSQL, nothing installed in your server.
Recovery Guide
Undo specific rows, or rebuild a whole table as it was.
Connect Claude
Use Claude as your database assistant via MCP.
Query in DuckDB
Run your own SQL over the Parquet dbtrail keeps, on your machine.