Skip to content

Plex DB

What is it?

plex-db runs some database maintenance tasks on the plex databases for each of your defined plex instances:

  1. Check if main database passes integrity_check
  2. Check if blobs database passes integrity_check
  3. Back up databases
  4. does a sqlite 'VACUUM' operation on the main database
  5. does a sqlite 'VACUUM' operation on the blobs database
  6. does a sqlite 'REINDEX' operation on the main database
  7. does a sqlite 'REINDEX' operation on the blobs database

If any of those operations fail, the backup databases are restored.

The plex containers are stopped for the duration of this process.

1. Installation

sb install plex-db

Further information: