Restore a Database Backed Up via 'Scheduled Tasks'

One of the many Scheduled Tasks that a Plex Media Server performs is to make regular backups of the core database, which holds things such as your viewstate information and media matching details.

Related Page: Plex Pass > Scheduled Tasks

Finding the Database Backups

The location of the database backups will vary by operating system. Unless you've altered the location via the Backup directory advanced setting, you'll find the backup files in the following locations.

The database backups will be named along the lines of:



On Windows, the backups will be located inside of the user directory.

%LOCALAPPDATA%\Plex Media Server\Plug-in Support\Databases\


Using the Finder's "Go" menu, select Go To Folder... then enter the following in the dialog box that pops up:

~/Library/Application Support/Plex Media Server/Plug-in Support/Databases/


In general, the location for the various Linux versions of Plex Media Server will be found under:

$PLEX_HOME/Library/Application Support/Plex Media Server/Plug-in Support/Databases/

Restoring a Backup

Once you've found the backup file you wish to use:

  1. Stop/quit your Plex Media Server

  2. Move the following files out of the directory and store them somewhere for backup, just in case. (You don't want the "-shm" and "-wal" files to remain in that directory.)

  3. Duplicate the database backup file and then rename it to com.plexapp.plugins.library.db

  4. Start your Plex Media Server