Repository navigation
Home
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.
Documentation for DBRepair v26.10.00
DBRepair is proprietary software. Copyright: @ChuckPA 2022-2026 All Rights Reserved.
Use at own risk! This tool is not associated with Plex Inc.