Does a media and metadata folder size of 70GB (on its own SSD) with 1.7 million files and 1.6 million folders sound reasonable? I have a lot of content, but wanted to make sure the “behind the scenes” stuff didn’t get out of control or need to be cleaned up, as I’m pretty ■■■■ about my collection. I do not have thumbnails enabled. Thanks.
I havn’t much comparission, but these are my counts:
actual media:
Movies
1.88 TiB
233 folders (movies)
1.736 files (different versions and extras)
TV-Shows
1.74 TiB
36 shows
176 folders (seasons)
3.007 files (different versions and extras)
Audiobooks
40.7 GiB
266 folders (books)
5.657 files
Plex-metadata
40.39 Gib
114.274 folders
81.928 files
In my experiences some folders can grow out of control (cache and phototranscode). I have a fairly large library with 2000± movies and 250+ shows and my plexserver backup is generally about 14G once compressed.
I do however delete the contents of the following four folders weekly before doing my backup so worth taking a look at them on your environment.
/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Caches/*
/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Data/*
/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Metadata\ Combination/*
/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Cache/PhotoTranscoder/*
Thank you for that data point. That seems reasonable then. I have about 100TB of content divided between 12,153 movies and 621 TV shows (45,000+ episodes) so it looks like the metadata size is not large at all. There are a lot more files and folders, but it appears to be scaling properly.
My biggest worry is going to be if I have to move this to another drive. I’m not sure how well that will work, or how much time it will take to get everything sorted and working again. It’s an older SSD, so I’ll keep my fingers crossed it doesn’t require replacement soon.
Thank you. I’m going to go through those now, and see how they look now. Is this something you do automatically or manually?
Semi automatically.
I created a simple shell script which basically cleanly stops plex, deletes what I consider junk (stuff above), create a compressed tar (my backup) and then start plex again.
This is then run weekly via a cron job.
Update at least to server 1.20.2
Enable
Settings - Server - Scheduled Tasks - “Remove old cache files every week”
Wait 7 days.
Repeat the counting of files and folders.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.