Sync two Plex servers

Hello!

I have two PLEX servers. Both servers are on different networks.
I can sync the data between these two servers?
Can I do so that the information has been fully mirrored?

Thank you.

PS:
The first server installed on a NAS Synology 214play
The second server installed on a NAS Synology 716+

PSS:
The content (photos, movies, TV shows, music) on both the NAS completely the same. Content is at the same address (volume1/MyLib) on two NAS.

Are you trying to sync the movies or the “watched” list stuff? If it’s the movies, try something like BTSync (Resilio Sync). I’m not sure if there is a version for the Synology. Doesn’t Synology come with the Cloud Station Server software? That will sync two Synology devices.

From my experience with PMS on Synology, Drobo, Shield and Win10 x3 the only way to “sync” is copy the DB file form A to B.

And PMS must be off. Yeh that’s not real syncing .
And most know you cannot copy to the PMS folder on Shield.

I will be watching this post as I would like to have the watched shows synced over 2 or more servers also.
A DB guru might know a way!

All content is synchronized BTSync. I need to synchronize the only Plex parameters.

NAS-1 (716+) is located in my city apartment. There is access to the internet 100MB. PMS (on NAS-1) has 5 local clients (TV, PC, android TVBOX), and many remote access clients (smartphones, tablets). NAS-2 (214play) is located in my village. PMS (on NAS-2) only has 5 local clients (TV). My village have access to the Internet only 5-10MB, so I can’t watch movies online from the PMS (on NAS-1) in original quality.

Movies supplemented mainly on NAS-1. Night makes BTSync to sync all media content (NAS-1/volume1/mylib <=> NAS-2/volume1/mylib). As a result, all content on both NAS are the same. Location path is the same too. Both PMS are configured identically too. The only difference is their names. Both PMS work only with agents XBMCnfoMoviesImporter.bundle and XBMCnfoTVImporter.bundle. In the end, after synchronizing content from NAS-1 to NAS-2, the PMS (on NAS-2) has the same content as on PMS (on NAS-1).

But I need sync “Toggle watched”, “Watched list”, and other Plex parameters.

Maybe I need to sync some directories from “NAS-1/Volume1/Plex/library/Application support/Plex Media server” to “NAS-2/Volume1/Plex/library/Application support/Plex Media server”?

E:\Plex Media Server\Plug-in Support\Databases\com.plexapp.plugins.library.db is the file you want to sync
But if u have watched something on both then one will overwrite the other . It is likely to be big and growing all the time - mine is 600mb

Don’t forget about the meta directories.

@cayars said:
Don’t forget about the meta directories.

I have copied just the DB between many PMS folders/servers .
All the other stuff eventually follows it.
And if you are doing it regularly most extras are already there.

I have on occasions had to delete these 2 files from the Receiving server .
com.plexapp.plugins.library.db-shm and
com.plexapp.plugins.library.db-wal
to get the receiving server to start…

Yes they will update themselves but if you have one server that is the main server and have/use BTSync it’s easy to set this up as well.

Will have a play with BT sync ,

thanks

Depending on what is in the database, your media at location 2 probably won’t work after the sync. So for example if you have your media at \NAS1\media\movies\ at location one, then that will be the library path in the database.

Meanwhile at location 2 you have \NAS2\media\movies\ for your libraries, this will get overwritten with the NAS1 location, which obviously will not work.

Therefore I would make sure that your topologies and naming conventions match exactly. So name the NAS the exact same thing, with the exact same folder/share structure. And use the exact same UID & PWD at each location.

Have you thought about using the trakt.tv plug in? I used to sync two servers with it and that worked pretty well for the watched status and even on deck stuff

trakt.tv plug in doesn’t sync servers files in any way. But it can be great for keeping the watch status between multiple servers matched.

@cayars said:
trakt.tv plug in doesn’t sync servers files in any way. But it can be great for keeping the watch status between multiple servers matched.

Thanks for clarifying that. I only meant it for the watch status, my sentence was not clear.

@cayars said:
trakt.tv plug in doesn’t sync servers files in any way. But it can be great for keeping the watch status between multiple servers matched.

Sync Watched Status and can sync progress too (not by default, have to enable in settings). Just set up a new ProxMox based Xeon server and while still using QNAP for file storage, I used trakt.tv to update all the watched and progress on the new server.

If you just want to sync watched and don"t want to add plug in and set up a Trakt.tv account; another option using just the Plex API is PlexSync

Funny that you mentioned PlexSync. I was planning on playing with this later between my local server and my Cloud server to see if it would work.

Anyone tried that yet?