Jellyfin Forum
How to migrate watched status? - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: How to migrate watched status? (/t-how-to-migrate-watched-status)



How to migrate watched status? - Jellyfenmo - 2023-08-20

I'm retiring my old server and starting most of my VM's fresh. For my Jellyfin setup, this means :
  • Old server -> Ubuntu 18.04LTS, jellyfin direct installed.
  • New Server -> Ubuntu 22.04LTS, jellyfin direct installed.

User accounts have the same credentials on both servers (recreated via Ldap).
New Servers libraries are freshly created and scanned (ie. not copied from old server).


Given I've not copied the library database, I was wondering is it still possible to transfer over the watched status for each user?  If so, does anyone have suggestions as to how?

Thank you
-enmo


RE: How to migrate watched status? - keklol - 2024-08-28

Sad, no reply, no help


RE: How to migrate watched status? - RobTheGob - 2024-12-29

An old thread - but thought I'd add my thoughts...

My situation is likely more complicated than yours - I'm trying to migrate to a new server (likely Ubuntu Server, but have experimented with Docker as well) from my existing BSD Jail (an unsupported OS).

In your case, due to the similarity between your old and new servers - I suspect you could just use rsync to copy the entire Jellyfin directory structure between the two systems. Retain permissions between the systems (something like rsync -avP) and you may be good to go, with very few adjustments.

Alternatively, you could try to sync all your watched status using the Trakt.tv plugin. When I created my first Jellyfin server, I setup the Trakt.tv plugin to store my library and watched status. On the Jellyfin server, in Scheduled Tasks, there are options to export/import watched states to/from Trakt.tv. You could create a temporary Trakt.tv account to use for the migration, if you don't choose to use Trakt.tv permanently.

I'm going to build a new server to experiment with that method - since my two systems will be very different from each other.


RE: How to migrate watched status? - RobTheGob - 2024-12-31

Replying to my own comment...

I tested my method using Trakt.tv and it mostly worked. However - some shows were missing played episodes when I did a random check.

I then tested the Emby2Jelly tool (https://github.com/Marc-Vieg/Emby2Jelly) and had some good luck. When looking at the output of that tool - I found some interesting issues with my metadata, and have been chasing that for a bit. I had some library metadata provider settings differences between my new server (Docker) and my old server (BSD Jail) and that was causing some issues with identifying shows and episodes.

I'm going to continue trying to get the metadata issues sorted out and hopefully - I'll be able to get close when using the Emby2Jelly tool. I've found that I can use the tool over multiple runs and inspect the output to determine things are getting better.

I've still not decided which platform to move the new server to - but I'm liking the Docker option.