Skip to content
ChuckPa edited this page Oct 27, 2026 · 1 revision

Welcome to the DBRepair wiki!

DBRepair is a compiled C utility for diagnosing and repairing Plex Media Server SQLite databases.

It replaces the original DBRepair.sh Bash tool with a native binary (DBRepair on Linux/macOS/FreeBSD, DBRepair.exe on Windows) that performs the same class of maintenance — integrity checking, structural repair, index rebuilding, backup recovery, and cache cleanup — directly against the Plex Media Server database files.

This tool operates on live production data. Every destructive-capable command in DBRepair works on an out-of-place copy first (check → rebuild → verify) and only replaces the active database files after the new copy passes an integrity check. Even so, always ensure you have an independent backup before running unfamiliar commands on a database you cannot afford to lose.

Not sure where to start? See Typical usage for which command to run for which symptom, the Menu for every command, and Command line options and Environment variables for settings.


Next

Clone this wiki locally