screwfaze 38 Posted November 24, 2018 Posted November 24, 2018 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
screwfaze 38 Posted November 24, 2018 Author Posted November 24, 2018 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.
Luke 42080 Posted November 24, 2018 Posted November 24, 2018 Ok just fyi we do not have an officially supported way of doing this.
screwfaze 38 Posted November 24, 2018 Author Posted November 24, 2018 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
Luke 42080 Posted November 24, 2018 Posted November 24, 2018 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.
screwfaze 38 Posted November 24, 2018 Author Posted November 24, 2018 Ok i see then i would like to request this please would help alot with my setup.
screwfaze 38 Posted November 24, 2018 Author Posted November 24, 2018 I have seen other threads where people say this can be achieved with Trakkt can someone please explain how that is setup? Thanks
screwfaze 38 Posted November 24, 2018 Author Posted November 24, 2018 Yes on my main one with my Trakkt account but I think I could only do one user sync to Trakkt
ucjb 14 Posted November 25, 2018 Posted November 25, 2018 (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 November 25, 2018 by ucjb
pir8radio 1312 Posted November 25, 2018 Posted November 25, 2018 (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 November 25, 2018 by pir8radio
ucjb 14 Posted November 25, 2018 Posted November 25, 2018 I got a page error on that link. Is the media on both servers sycned?
pir8radio 1312 Posted November 25, 2018 Posted November 25, 2018 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.
screwfaze 38 Posted November 30, 2018 Author Posted November 30, 2018 @@ucjb thanks for the reply mate will check that out and thanks to everyone else on this thread. 1
screwfaze 38 Posted November 30, 2018 Author Posted November 30, 2018 @@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
CyberPoison 33 Posted December 28, 2020 Posted December 28, 2020 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?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now