Jellyfin Forum
How do I migrate Jellyfin from Debian to Debian - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: How do I migrate Jellyfin from Debian to Debian (/t-how-do-i-migrate-jellyfin-from-debian-to-debian)



How do I migrate Jellyfin from Debian to Debian - hownioni - 2024-07-31

Hi, I'm looking to move my server to a new machine and I don't know how to go around making a backup for Jellyfin so I don't have to configure it again. I'm moving my server from Debian 12 to Debian 12. What are some things I have to worry about? What about the users and stuff? I haven't installed Debian yet on the new machine so if I have to name my user the same or name the host exactly like the old one please tell me, thank you all in advance!


RE: How do I migrate Jellyfin from Debian to Debian - Efficient_Good_5784 - 2024-07-31

https://jellyfin.org/docs/general/administration/migrate

You just need to do the following:

1. Make a copy of your config folder and transfer that to your new server.
2. Make sure the paths on the new system match the old system so you don't have to rescan everything.


RE: How do I migrate Jellyfin from Debian to Debian - TheDreadPirate - 2024-08-01

If this a package install directly on Debian, back up these directories and transfer to the new server.

/var/lib/jellyfin
/etc/jellyfin
/var/cache/jellyfin (optional, but I've found it makes the process smoother by restoring it)

Install jellyfin on the new server, stop the service and restore these directories then:

sudo chown -R jellyfin: /var/lib/jellyfin /etc/jellyfin /var/cache/jellyfin


RE: How do I migrate Jellyfin from Debian to Debian - Host-in-the-Shell - 2024-08-01

If you want to move the entire server as is without having to reconfigure everything on the new machine, you should seriously consider cloning your drive. For this I use clonezilla; it's also great for backups. You will probably need to boot with a live ISO into your server to use it, since the disk can't be in use during the process. If you happen to have a live USB with Arch, it comes with clonezilla already integrated by default. You can also just make your own.


RE: How do I migrate Jellyfin from Debian to Debian - hownioni - 2024-08-01

Thank you all guys! I wanted to try with clonezilla but as I'm working with laptops I need to take out the dvd reader and I don't have an adapter for the HDD to connect into its spot instead, so I'll go with what TheDreadPirate said, the things in my server are easy to backup anyways, the only things I worry about are permission issues and such.