Scripted Plex Migration - RESOLVED

Hello

I’m replacing my current server (buggy, git not used, messy) with a new one that is also backed by a different cloud storage. I’m wondering if there is a scriptable way to read watched items from one server and then recurse the replacement server to mark them watched. This need not include the additional home accounts, just my primary account. Homed accounts is a bonus, not necessary though.

Is there a bash or python method of this? I’ve seen feature requests for syncing watch status but I just need a one-off. My library contains 400 shows and well over 1000 movies so doing it manually … well the idea terrifies me. Input greatly appreciated.

Not saying I need a script written for me per se, but is there some kind of api access that I can leverage to perform this function? Cannot use trakt.tv as it cannot guarantee 100% accuracy according to what I’ve read on the forums.

You could do this
https://support.plex.tv/articles/201154527-move-viewstate-ratings-from-one-install-to-another/

Or you just copy the main database file from the old server to the new one.
(must be done while neither the old nor the new server are running!)

1 Like

That looks like exactly what I need, thanks @OttoKerner. If it works I will be sure to mark the answer as solved, however first I need to tackle a separate rate limit issue. I know those words come up a lot so I’ve opened a GSuite ticket hoping I can wrangle some help from Google, if not I’ll be back with another thread.

This is an amazing procedure. My library wasn’t fully imported into the new Plex so of course it errors out but it proved successful on what was already there. Fantastic answer.

1 Like

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