Introduction
Track every MySQL change, recover anything — with open-source dbtrail or dbtrail Cloud
dbtrail tails the MySQL binary log, 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. Query any row as it was at any moment, generate exact reversal SQL for just the damaged rows, or ask Claude to do it for you.
One engine, two ways to run it
Everything in these docs applies to both editions unless it sits in the dbtrail Cloud section:
Open Source
Self-hosted, Apache-2.0. Docker Compose or a single binary — streaming, recovery, time-travel SQL, web console, and MCP server included.
dbtrail Cloud
The same engine, operated for you: managed dashboard, REST API, teams and RBAC, forensics attribution, and scheduled backups.