[Request] Two-ways Sync between Plex media servers // MOD: jointly owned library in sync between servers

My sister and I have a plex media server each one. We are scanning old family photos and uploading them to a PMS library.

It would fantastic if her library and mine would the same two-side synced library. If she add one photo it goes to my synced copy and if I add a photo it goes to her synced copy.

Two options:

  • One-way sync (PMS Master → slave PMS with a read only copy) or [MOD: duplicate]
  • Two-way sync (PMS Master <–> PMS Master with a read+write copy)

Thanks and sorry if my english is not too right

Good idea!

Nice one! This would be a great feature!

I’d really like to see this feature added as well, but for a completely different use case. I want to have my music synced to my laptop for offline play, but Plex Web and Plex HT both lack support for this (and I don’t have Windows so I can’t use the Windows Store app). If I could just run a PMS instance on my laptop that synced my music down from my main PMS server, that would completely solve my issue.

This would be a great feature, I use a ReadyNAS as the main long term storage running Plex, but if suffers when trying to transcode, so would be good to synchronise libraries (or parts of them) to a laptop where it can handle the transcoding onto my Firestick.

i would love to have this feature as well. whether for a library, album or just one picture\home video!

i have been looking for this feature for a while and have had some of my Plex friends ask me if it s possible. i would also like the option to not delete the pic\video if it is removed from the source server. an example would be if my friend has pic1.jpg on his server and i sync it, he decides he doesn’t want it anymore but i do (so clearly its for blackmail later ;)), i dont want the pic to be removed from my copy of the library, album or just the picture.

Server to Server sync FTW

For a feature rich, free, sync tool take a look at BitTorrent Sync

Although there are many variations on Bittorrent Sync (like Syncthing) the main issue I have with all of them is that they require additional ports to be opened on my firewall. I would be happy if I could sync server-to-server without opening extra ports on my firewall.

Jaap

Yes is a good idea! Hopefully come this feature

https://www.google.de/#q=translator

Would absolutely love to see this.

More about this: It could not only synchronize files, also could synchronize information about when one media has been seen (for the same plex-registered user, of course) and it could synchronize equal to origin one or synchronize with different quality for reduce size.

All, apologies if this has been mentioned before but I’ve just discovered Syncthing (pretty much available for every operating system too!) and it is now syncing between my two identical servers perfectly and automatically! All you do is set which server is the ‘master’ server and every time a change is detected it just syncs the files that have been updated/added! Everything I was looking for in this feature to be honest!

I’m wondering how ‘syncthing’ can accomplish this if the two servers are on a different OS (i.e. one on a Mac and another on a PC or linux). I can see it working if the servers are on the same OS (i.e. both Windows, or both Mac) and the folder structure is identical. Correct me if I’m wrong (please), but I think the folder structure becomes relevant because the libraries containing media within the application (i.e. Movies, TV shows, Music, etc) each point to a path that ultimately begins with something unique to the OS. For example, Plex on Windows would be looking for media in a location that has a path beginning with a “C:.” On the other hand Plex running on linux would be pointing to media in a path starting with “share.” And, mac libraries start with something altogether different. If the “Plex Media Server” folder is synchronized, for example, between a PC and a NAS running linux, the synchronized libraries will either point to a C:… or a \share…, which will only work for one of the devices.

At least, that’s the problem I’m trying to solve. I’m wondering if I can just sync one or more of the subfolders within the “Plex Media Server” folder… for example, the “metadata” subfolder, or the “media” subfolder. Ideally, I’d know which folder, or better yet which file, contains the information about the library paths. Then, I’d just sync everything except that.

So, does anyone know exactly which subfolder, or file, contains information about library locations? Or, am I totally going down the wrong track?

Hi. I think that a some form of sync would be great for other scenario.
For example Migration. I had to go trough Plex migration a while ago and basically cause of different disks, OS… I had to restart.

And honestly I think that Plex should take this as a serious challenge: never have to manually migrate / move files.

@dmcnaugh15 I think that is totally possible. I think a good plan should be implementiing serially the following featuresL

  1. migrate one server to another server (eg: windows to shield TV), without moving files but keeping in consideration that the original server may have a different path (example: windows saw files locally while the Shield will access to files remotely, so path is different).
  2. keep two different servers in sync, as long as they access the same file (same as point 1, but sync and not migrate)
  3. at this point, we could evolve to a more sophisticated migration/sync that keeps also in account the migration of physical files, from one location to a new one (for migration) or the copy of files (for sync).

Now the questions here is if this is possible trough the Plex API, as it should be, so it would be possible to develop an addon for this.
I played with the Plex API and there seem to be the ability to write some data
https://www.npmjs.com/package/plex-api
In the example, they modify a description, but there’s no example on how to add a new item.

it adding/editing an item in the library is supported by the API, those 3 steps above can be done externally.

I could see the desire for a Clone Settings from existing server option…
But if you want to maintain content commonality it would be far better to do that in a shared path between both servers.
If you both use the same path for Pictures then when your sister adds a photo to her Plex library it will show up on yours as well.
NAS is probably the best option for this but it can also be done by sharing folders on both machines when there is no central network Library repository.

The way the app works there really isn’t a great need because you can select any server associated to the Plex Account from the Apps and PlexWeb.

But I can definitly see a need to clone paths and libraries from one server to the other.

I would love to see an ability for local PMS to clone/sync to the Plex Cloud and the players have the ability to determine if you are inside or outside your local network and play from the PMS inside or cloud accordingly.

good idea…

Great idea and would like this for Plex Cloud.

I currently use Plex Cloud as my traveling library and want it to be synced to my local Plex server. New items I add locally could be synced to Plex Cloud along with watch history, auto metadata matching, and any manual changes I make to meta data such as incorrect match, changing thumbnail icon, updating title, etc.

This is great idea! Yesterday I got 16TB My Cloud Home NAS replacement product from WD. It has built-in PLEX. But I used to use PLEX Server on my laptop. PLEX WD My Cloud Home NAS version is very limited and MCH doesn’t have shell access. I want to play my content via NAS PLEX but I want to use plugin support of PLEX Windows. It should be a way to sync these two servers.

My NAS Server A
My Windows Server B

A<>B should be sync. I use some special plugins like trakt.tv, Plex Export feature etc. But I cannot use these features with NAS version.

Syncthing doesn’t need ports opened, it does UDP hole punching.

(Edit: OKI just realised I’ve just revived a 3-year old corpse :slight_smile: )