DBRepair has been completely rewritten from scratch for all supported platforms as a free-standing, no external dependencies, executable program.
DBRepair.sh is now fully obsolete and removed from use. Please delete any copies/forks you may have and switch to the new version (does what the scripts could not)
🎉 FreeBSD Users: Beginning with DBRepair 26.11.00, FreeBSD 14+ (x86_64) is supported via a native, standalone
DBRepairexecutable. Just download, extract, and run as root.
🎉 Windows Users: Beginning with DBRepair 26.10.00, Windows is fully supported via a native, standalone
DBRepair.exeexecutable! Previous versions of DBRepair required separate.bator.ps1scripts, have now been completely obsoleted. Just download, extract, and run.
DBRepair is run from a command line (terminal, Command Prompt/PowerShell, or ssh/putty session) on the local host machine. It must have sufficient privileges to read/write the databases. Because DBRepair is distributed as a compiled executable, it requires no external runtime dependencies.
If sufficient privileges exist (root/Administrator), and are supported by the environment, the options to start and stop PMS are presented as well.
Full documentation (installation, every menu command, typical usage, command-line options, environment variables, supported hosts) is on the DBRepair Wiki.
For a complete list of commands in the menu, see: Menu
- PMS has stopped making automatic backups of your databases.
- Searching is sluggish or broken
- Database is malformed / damaged / corrupted / bloated
- Damaged indexes / Rows out of order
- Tables, Indexes, or other items missing from databases (seen in logs)
- Importing data from other databases (watch history)
- Cleaning up operational temp files which PMS has forgotten
- Other maintenance and checks to keep your server running optimally
DBRepair is packaged as a .zip archive for easy downloading. Each archive
contains the standalone executable for the target platform, along with the
README.md, README.html, ReleaseNotes.txt, and LICENSE.txt files.
The following architectures are supported:
- MacOS - Arm64
- MacOS - X86_64
- Linux - Arm32 (armv7)
- Linux - Arm64 (armv8)
- Linux - X86_64
- FreeBSD - X86_64
- Windows - X86_64
It is highly recommended to download the packaged .zip archive for your system.
Navigate to the latest release:
DBRepair Latest Release
and download the appropriate .zip file for your platform from the
Assets section.
DBRepair is free but one-time Donations or Sponsorships to defray development costs are always welcomed
See LICENSE.txt for terms of use.