JellyFin (10.9.3) - Backup & Restore

Some setup info
OS Version:TrueNAS-SCALE-24.04.2.3
Name: jellyfin
App Version: 10.9.3
Chart Version:19.1.11

So basically my JellyFin is running the last version BEFORE the TrueCharts KUBERNETES cut off. Now what i’m trying to do is backup my JellyFin Data (collection, view history, user profiles, etc). and reload/migrate it into the new TRUENAS DOCKER installation.

Based on the JellyFin site *(Backup and Restore | Jellyfin) I just need to backup the /DATA and /CONFIG folders over to the new Docker installation.

I’m reading alot of this CLI workarounds and i cant process it. SO i went back to my old school method which was using SFTP (via WinSCP) and searching for the JellyFin.* file(s) to give me an idea of the installation/storage location. Funnily enough; after doing a keyword search; all i could find are K8S image snapshots/backups of the Jellyfin’s app files; but i cannot find the folder where the actual /data and /config is .

So anybody got any suggestions? Could it install anywhere else other than inside the /IX_Applications folder?

I just added an extra hostpath mount in truecharts apps then shelled into the app & copied app data/config out of the PVCs :stuck_out_tongue: Or you could use Heavyscripts to mount the PVC then grab stuff that way.

Shelling into Scale itself isn’t going to get you access to the truecharts app data/config.

You just have to figure out where that lives in each app. Does Jellyfin have a backup/restore feature? Might only need to grab a few compressed files for that?

I learned something: jellyfin is a forked emby. Not sure why emby was forked or why you’d choose jellyfin v emby.

NOTE: I do not use SCLE or docker so this could be bad advice.

I posted this thread in the hopes it would be relevant to docker apps as it is to jailed apps on CORE. I hope the following can help in some way. If not, sorry.

Plexdata backup method - TrueNAS General - TrueNAS Community Forums

I just added an extra hostpath mount in truecharts apps then shelled into the app & copied app data/config out of the PVCs :stuck_out_tongue: Or you could use Heavyscripts to mount the PVC then grab stuff that way.

Shelling into Scale itself isn’t going to get you access to the truecharts app data/config.

You just have to figure out where that lives in each app. Does Jellyfin have a backup/restore feature? Might only need to grab a few compressed files for that?

I was/am/still a Linux newbie. I come from a MSFT shop/background; so alot of my thinking is very GUI based. Linux CLI is my kryptonite; so i rarely deviate default working from instructions . And the TrueCharts defaults in this case for the APP Config / data was using the /root/mnt/VDEV/Pool/IX_applications storaga area.

That being the case; i’m under the assumption that when you “install” Kubernetes apps; it would install it inside that folder location. Instead; all i found were snapshots and YAML/YML/CONF files that couldnt tell me much.

Using WinSCP (SFTP port 22; Truenas ROOT user); i was able to locate the actual data storage area.
– a search for “jellyfin.db” in IX_Applications took an hour.No Luck.
– A search in my entire server took the whole night … and i found that kubernetes *(And docker as well) stores its “apps” in /root/var/lib/kubelet/pods/. So manually i can copy/paste using a GUI browser the necessary files without worrying CLI commands…

At time of this posting; Jellyfin just upgraded to v.10.10.0. and Truenas Electric Eel is launched.

Regarding Jellyfin backup; There’s only MIGRATION scripts *(from emby/plex to jellyfin). There’s only mention of backup using DOCKER instructions; but since this was TRUECHARTS Kubernetes; i had difficulty executing the commands to work properly. But there is mention of backup the necessary folders for migration. Also; there is only talk about a possible in-built backup/restore function in near future. SO this is my current workaround… using a Gui software via SFTP protocol to search and edit/copy/paste/backup the files…:sweat_smile:

*(PS - Side note; please someone tell me that /root/var/lib/kubelet is NOT in the Boot drive right? If not; why bother having a dedicated storage pool called IX_Applications ?)

I learned something: jellyfin is a forked emby. Not sure why emby was forked or why you’d choose jellyfin v emby.

NOTE: I do not use SCLE or docker so this could be bad advice.

I posted this thread in the hopes it would be relevant to docker apps as it is to jailed apps on CORE. I hope the following can help in some way. If not, sorry.

Plexdata backup method - TrueNAS General - TrueNAS Community Forums

Left the server running overnight just to do a Jellyfin.* search. was running at least for an hour before i went to bed to get the results. ITS not as fast as CLI; but its visually easier … for me anyways…

So as i mentioned earlier; TRUENAS/TRUECHARTS default settings install all its running “apps” in /root/var/lib/kubelet/pods/ . I just have no idea where that is PHYSICALLY (OS Boot drives; Scratch pool; media pool ; etc.).

EMBY was forked by JellyFin because emby started charging for functions. JellyFin is generally OSS. Or Plex in the wee wee early infancy.

Oh, nice. I assume jellyfin is good otherwise you wouldn’t be using it. I paid the $100 to emby and plex a long time ago. I know emby has a nice backup/restore feature if you’d want to switch back (but you’d have to pay up I guess).

Sorry, I cant help with the docker/kubs thing. My TrueNAS is now just a NAS server (only serves up files) and I set up my own separate FreeBSD server with jails. I evaluated switching to SCLE but the app situation seemed to be a complete mess (and I don’t really feel comfortable storing my data in Linux); I thought it would be easier for me to just install FreeBSD and set up my own jails (what seemed to be the more complicated option turned out for me to the best). …It’s been about 2 months now, since I’ve made the switch, and everything is automated (like in that link I shared) and I don’t really do much.

Good luck though. If I can help I will but it doesn’t sound like I can.

Do you use commandline in windows? Other than the commands being different, the biggest difference is in how windows and unix systems mount different drives.

I have no idea how jellyfin handles its config/data, but it could be just done with a single folder/subfolders that need to be copied like Plex.

From the Scale App UI, you should be able to open a shell into a running Jellyfin pod and poke around.

As for getting that info out, I just added an extra hostpath storage mount on my media dataset/array to Plex and had it mounted in the pod as /migrationdata. Started the app, shelled in and copied the relevant data to that new mount.

I have not tried to use Heavyscripts to mount app PVC, but it should be similar. Not sure where heavyscripts mount to, but it might have the option to put it in a place you can just use SMB or winscp to get it.

I do occasionally use CLI; but very very very simple dir functions. Thats it . Its more a “me” problem. As mentioned before; i’m very visual reliant; so i’m used to file explorer gui’s vs CLI. Like i said; linux *(and its CLI) is my kryptonite. And because i didnt/dont know how to deviate from the default instructions… thats where we are now… :grin: But now i know!

Tough love: The visual thing is BS (don’t keep telling yourself that); the GUI will list out directories just as the CLI will.

I assume the directory will be called “jellyfin”. why don’t we just search for all the jellyfin directories (very vague and possible result list will be garbage but worth the try). I’m not on *nix at the moment but give the following a try in the command line and see what you get.

find / -name jellyfin -type d