Sharing Database/Collections Between Servers

Server Version#: 1.25.3.5409

I’m currently setting up an off-site replica of my entire library (roughly 50TB of media) so I can have all the media local at a remote residence. As this location has a rather slow internet connection and I have the disk space and I’ll have the exact same media there I’d like to setup a second server to access that media. My primary concern is I’ve spent a LOT of time over the last literal decade to highly customize my libraries (hundreds of collections, playlists, etc).

Is there any way to replicate that between the two servers? I assume I could snapshot my current server to at least start with that, then make changes on both at the same time, but if there’s a way to keep them in sync that would be awesome.

Thoughts? Again ALL paths will be identical between the two machines/setups.

Thanks!

~Ross

Plex do not support such a thing, sorry

dane22 Plex do not support such a thing, sorry

What about regular backup/copy/restoring of the database at the offsite location?

Well, I guess you could do an rsync of the entire Library directory, with the exclusion of the database dir, and then either use the newest scheduled task based backup, or a cron job that close PMS, copy away the database, and then power back up PMS again

Yeah, this is exactly what I was thinking - just a lot to setup if there was a more supported or standard way to do this. I don’t really edit my collections/metadata that often so I’ll at least start with a replica with the current DB/directories to start with.

If I can get rsync and a scheduled task (Windows box) to shut down the DB, copy over the current one and restore it, the bring everything back up I could set that up to run once a week which would be more than enough.

Thanks for the input, very appreciated.

~Ross

1 Like

Hi @dane22

I understand that Plex does not support this ATM.
since the wish for a PMS replica is not all that absurd …
There is more than one use case for that:

  • easy transferral from on server to another
  • extra layer of safety against data loss
  • have a 24-7 sync between both servers over a low-speed connection and have speedy “local” client acess on both locations
  • Zero-Day gap of accessability if one of both servers break

Has this been discussed internally? A cool backup strategy could have a price tag to generate income by those who want it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.