Server Version#: 1.23.5.4841
Player Version#: N/A (web)
After my remote backups started failing due to a lack of disk space, I went on an investigation and found my PlexServerSettings/Library/Application Support/Plex Media Server/Plug-in Support/Databases/* taking up about 500GB of space … which is actually around 14,000 copies of the db file mentioned in the subject (~30 mb each).
(I am on a Raspberry Pi, but have a symlink to an external hard drive for the Plex Server Settings).
I choose to believe this isn’t ‘by design’ – I thought I saw elsewhere in the forums that there should be cleanup logic running. So… how do I go about investigating why that cleanup logic isn’t working… and what’s the general guidance for manual cleanup? Save a file from the beginning, a month ago, and an hour ago?
TLDR - what should I do manually, and how do I ensure I don’t have to do this again?
When the server creates a back up the date it adds to end of backup filename is a human readable date such as com.plexapp.plugins.library.db-2022-03-29.
In your file names that appears to be epoch time which I think would be by something else making them
I had written a cron job that (in theory) will restart the plex service if a grep request fails… and before starting the service again, it would make a backup. The grep has been returning unauthorized for … who knows how long at this point, and making a backup every 15 minutes.
Thanks for helping me understand. Turns out this was by bad design – but it’s my bad design.