Restore a plex database from backup?

My database recently got corrupted. I’d like to restore it from a prior backup. I tried to follow this https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/

I stopped the plex server
I took the library.db and blob.db backup files and placed them
\appdata\plex\Library\Application Support\Plex Media Server\Plug-in Support\Databases

I then restarted plex server
nothing changed it was still using the old database

I am running this on unraid in a docker container. It would be super helpful since you folks already have a backup section in the settings panel to create a “restore from backup” as an option. That a user could select the backup to restore from instead of having to do everything from cmd line.

Use the Plex DBRepair Utility: GitHub - ChuckPa/PlexDBRepair: Database repair utility for Plex Media Server databases

You can try to repair the current database. Use the AUTO choice.

If the database cannot be repaired, use REPLACE. It will check the backup versions before restoring one as the active database.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.