I have Plex installed using the package centre on a Synology DS918+ and I needed to change the drives on the system and recover from backups as I have put a fair bit of time into the way Plex indexes my media.
I backed up my Media using Synology’s Hyper Backup and to backup Plex I grabbed the contents of the Plex folder and copied it through the windows SMB sharing to my Windows desktop. To clarify the folder I backed up has the contents of the screenshot attached.
My question is, can I simply re-install Plex using the package centre then do a quick simple setup without adding any media and then restore the files overwriting everything and restart Plex?
Or is there a different specific way I need to restore it?
Because of how ownership of files works on Linux (much stricter than Windows),
when you copy them back, plex won’t be able to read them unless you manually change their ownership from your username to plex.
I recommend:
Open the Plex share (with PMS stopped)
Right-click Library then Compress to Library.zip
Copy off that ZIP file
When ready to restore, copy the zip back
5 Delete the Library directory the package installer creates
The only problem with that is I’ve already done the backup and restored the Synology O/S. I’m just waiting for all the movies to restore which will take about a week then I will be ready to replace the files.
If it’s just a permissions issue is there any reason I cannot just copy the Library directory back from what I have backed up already and then set the permissions as you mentioned?
Also is it only the Library directory I need to restore or everything?
The other files and directories should remain as I created them.
If you remove the tmp_transcoding , you will have transcoder faults
The others are my reminder/request to not place media in the Plex share once made visible. Doing so causes PMS to “watch” its own activities and leads to an infinite scanning loop.
Sorry I mean do I overwrite the other directories and files with the ones I backed up? Or shall I leave them alone and only replace the Library folder?
Basically do I replace EVERYTHING I backed up or just the Library folder?