My library is getting rather big by now, and I back it up every now and then just in case of a crash.
I am doing full backup into tar.gz file, which takes a few hours every time.
Is it “safe” to use rsync to update my backup, or do I need to make a full backup every time I do this?
I was thinking of using rsync -avu for updating the first full backup.
My library folder is around 40GB now (for some reason), so making a full backup with over two million files takes forever, which is why I want incremental backup.
Relevant info, I’m running plex in docker on ubuntu. latest plexpass version.
I’ve cleaned bundles, emptied trash and optimized database without any decrease in used space on drive.
Do not forget to include the –delete option. This is what cleans up bundles and temp files which are no longer on your main system. -a --delete is all you need (I use those options to sync my entire media library NAS to NAS)
-v will be verbose and will scroll like mad and slow down the sync substantially
Movies: 3170 (including documentaries)
TV Episodes: 57052
So about twice the amount of yours, which “logically” would put my library size at 30GB is yours is 15, but I’m at twice that.
I came to think about permissions, since I am running in a docker with the library path mounted to the docker, plex:plex isn’t the owner of the library folder. Could this be why files aren’t deleted? Since the plex user only exists inside the docker that is being run by the user that is owner of the library folder? Chmod is drwxr-xr-x
I had Include Cinema Trailers from movies in my library checked, which is now unchecked.
Would be nice to know which folders are safe to remove though.
The sinner seems to be Library/Application Support/Plex Media Server/Cache/PhotoTranscoder
That folder is 40GB and has shitload of image files that I assume don’t serve any useful purpose. (besids sending small images to clients, If I am correct. The server is powerful enough to regenerate these when needed, so I guess I’m asking for a blessing to remove the contents of this folder, confirming that it won’t break something)