Many on my hard drive in the plex home dir are corrupted, and some are not. What’s the minimum set of directories I need to reconstruct the server? All the media is fine, but I don’t want to lose all the matching and rating I have done. Most importantly, I think the com.plexapp.plugins.library.db is OK.
Any suggestions? I was hoping a fresh install, stop the service, move a few critical files into place, start the service, and get most of what I had. It’s OK if art and supporting data is downloaded again.
OK! Looks like some success. Fresh install, stop service, copy files, start service, web page looks OK. No images, but that’s OK for now. I assume I need to refresh all metadata.
After a few seconds, however, plexmediaservice crashed on the server. I have the .dmp file if anyone cares. The service then automatically restarted and seem to be up.
Many thanks for the help. I know now what I need to make sure I have on- and off-site backups of.
I will need the logs first as the crash will have also been reported there.
I suspect the crash is because it got caught in an unexpected state doing this disaster recover
When the Library was fully populated, it was 450GB.
I’m a little confused. Do you want me to send you the Library? I can remove the backups and the dump, that will make it more reasonable. How should I get the file to you?
Ok, thanks. I’m back up and running, and i have a decent back up for just the important files:
Here’s my back-up section from my daily backup script. Note, I moved my Plex dir from my system drive to another location, so the paths will not work for anyone else, but people will get the idea. I’m sure I could be more efficient with the source paths, but I’m lazy sometimes
I knew that about the shm and wal files, but I figure better safe than sorry. Thanks for all your help. So technically, this is all that’s needed for a a simple backup. I plan on doing this backup nightly.
I’m researching but you probably want to also include the certificate cache.
This is because the certificate data is stored in the DB now (a recent change).
You 'll find the cert data files in Plex Media Server/Cache