Restore app configs from core jail backups

I recently decided to make the move to SCALE from Core after a recent catastrophic data loss event. I opted not to do the migration, but to start from scratch. To avoid any weirdness that may arise from the migration.

So far it’s been pretty painless. But I’m now trying to bring in all the data from back up and I’m bumping into the learning curve moving from iocage to kubernetes. Specifically, I have no idea where to put the config data for my apps (plex/servarr/etc). As I can’t seem to find where the apps are installed in SCALE. Or if they will even know what to do with the data when I move it there (I know next to nothing about docker/kubernetes). The backup data worked fine on my mac where I configured these apps as an interim server while I rebuild this truenas server. So I have decent hope that kubernetes isn’t so weird that I can’t restore my configs?

I suppose I could reinstall them with app paths to my pool, but what would I learn in doing that!

A little guidance would be much appreciated.

The current release of SCALE doesn’t use kubernetes; it uses Docker. Did you migrate to Dragonfish? That seems like, IMO, a poor decision in light of the massive breaking changes made to apps in EE.

Sorry I thought they were the same thing. Probably misunderstood something I read. I’m using the most recent version of SCALE and whatever the vanilla install provides.

Anyway, looking into it, the config restore process for most of my apps seems to be done from the app interface, so it’s really just PLEX and maybe Unifi site manager that I need to solve this for. Even Homeassistant I believe is restored from the interface.

This should get you started: TrueNAS Apps | TrueNAS Documentation Hub. Particularly the part on storage volumes.

We do recommend mounting host paths to other parts of your pool for most things that aren’t ephemeral data or test deployments.

This is what I ended up doing. Just for simplicity’s sake. Now I’m wrestling with the app permissions to the media dataset. It seems to mount but the mount is empty. The joy of new things…

It’s maybe irrelevant now, but I found the ix files. They are located in /mnt/.ix-apps fwiw…

Ten hours of experimenting probably spared you ten minutes of reading the documentation here…

1 Like