Updating app wipes data

I upgraded all my apps from TrueNAS Cobia to Electric Eel during RC2. The initial migration went smooth but I’ve started to run into issues. I installed a new pool and wasn’t able to use the Migrate Data function which I’ve since learned is broken with the Docker implementation. I found a workaround by copying over the data from the /mnt/.ix-apps/app-mounts while my old Apps pool was active to a folder on my new pool, then moving the files from that folder into the /mnt/.ix-apps/app-mounts while my new pool was active.
It works until I upgrade apps and then all data is wiped from those folders.

How do I backup these apps properly? Is there a way to make it so when updating the apps it doesn’t completely nuke the data?

Thanks :slight_smile:

I wouldn’t use the built-in hidden .ix-apps dataset. Create your own apps dataset just below the root, and during creation select the Apps use case so it correctly applies permissions. Then create child datasets under it for each of the applications. I haven’t had issues with updating the apps and losing my configs this way. Depending on the application, you may want more datasets for data, configs, movies, pictures, whatever. As far as backups - use snapshots and zfs replicate or rsync them to a separate system or cloud account.