Jump to content

Emby Sync 2 Servers


Recommended Posts

Posted

Hi,

 

I need to manage two emby servers in 2 different locations and was wondering if I can use a tool like Goodsync or anything else out there to sync them?

 

Thanks

Posted

For one I would like the watched status to sync between the two so no matter which one users connect to they can just continue where they left off.

Posted

Ok just fyi we do not have an officially supported way of doing this.

Posted

Ok I think this would be awesome to have a master server that others can sync to for a central management.

As for an unsupported way of doing this can you tell me which folders I can sync to achieve this with Goodsync?

 

Thanks

Posted

Watch data goes into the library.db database file. That's not something you're going to be able to easily sync with a syncing tool.

Posted

Ok i see then i would like to request this please would help alot with my setup.

Posted

I have seen other threads where people say this can be achieved with Trakkt can someone please explain how that is setup?

 

Thanks

Posted

Have you used trakt before?

Posted

Yes on my main one with my Trakkt account but I think I could only do one user sync to Trakkt

Posted (edited)

The general scenario goes like this;

1. Use a batch file to make backup of Master MB's Library.db. SQLite may have a built-in function to do backups??? I don't know?

 

2. Copy Master Library.db to the slave MB server.

 

3. Kill MB service

 

4, Copy Master .db to location of the slave.db

 

5. Restart MB slave server service.

 

This can be setup using Windows Task scheduler to run as often as necessary.

Edited by ucjb
pir8radio
Posted (edited)

I have been thinking of trying something like this:  https://dbconvert.com/mysql/sqlite/   using their DBSync version..  Sync the sqlite db to a mysql database.  It can do two way syncs, so the mysql becomes the master, and the app can sync that db to multiple sqlite db's...     I have not had a chance to play around with it on emby yet. 

Edited by pir8radio
Posted

I got a page error on that link. Is the media on both servers sycned?

pir8radio
Posted

I got a page error on that link. Is the media on both servers sycned?

 

fixed the link...   In my case the media would be on a SAN.    so yea.

Posted

@@ucjb thanks for the reply mate will check that out and thanks to everyone else on this thread.

  • Like 1
Posted

@@pir8radio I would love to try the sync but am not confident enough can you confirm if this works for you then I will try

  • 2 years later...
CyberPoison
Posted
On 11/25/2018 at 3:17 AM, pir8radio said:

I have been thinking of trying something like this:  https://dbconvert.com/mysql/sqlite/   using their DBSync version..  Sync the sqlite db to a mysql database.  It can do two way syncs, so the mysql becomes the master, and the app can sync that db to multiple sqlite db's...     I have not had a chance to play around with it on emby yet. 

Did you tried it, I would like to scale up my pod on kubernetes but looks like this is not possible since sqlite is locked when one pod is already running, do you confirm if there is a way to scale and sync watched data from one to a other pod or just use the same volume path mount? 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...