dbtrail

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.

The dbtrail console Overview: restore coverage with capture health chips, counters for changes indexed, deletes and tables touched, a recent-changes feed, and per-table activity.

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.

Start here

On this page