How to find and restore the right snapshot to restore my Plex app history?

I’m running truenas scale 24.10.2 and I recently had the boot USB die on me.
Yes, I know, but I ran out of SATA ports and for 5 years I was lulled into complencency with it “just working”.

Anyway I lost the boot device Friday and created a new one from my 4 month old backup that was was the most recent save on my PC.

I didn’t lose much, I thought, until I looked at my Plex app which seems to have lost all the watch history from the past 4 months. (Isn’t that stored in the pool?)

One complicating factor is that at some point around 4 months ago I moved my apps from my main HDD pool to another that’s on SSDs (I was debugging slowness on overseerr that was actually caused by a bad DNS setting but I digress).

So I don’t know exactly where to look for the snapshots and frankly I don’t know how to restore them.

I was naively expecting a time coded file (yes) with folder structure inside a tarball but I’m not certain how to search.

I may have not configured the snapshots correctly because when I search “app_mounts/Plex” I see 3 snapshots from the day the USB boot drive died and then a bunch from 2 and 4 months ago.

The three recent ones are:
MYPOOL/ix-apps/app_mounts/Plex/transcode Used = 127.88 KiB
MYPOOL/ix-apps/app_mounts/Plex/config Used = 21.88 MB
MYPOOL/ix-apps/app_mounts/Plex Used = 0 B

Where MYPOOL is my HDD pool. So either I didn’t really move the apps to my SSD pool or I didn’t create snapshots of the correct pool?

Instead of the folder structure or tarball I’m left with a “Rollback” button and I’m not sure what I’d be rolling back to. Will that restore my watch history or am I better off leaving it alone?

Honestly, before mess up with snapshot, i would check if your Plex app Is just pointing to old host path (before you swap)

1 Like

Good call, when I check in the plex app settings “Host Path*” points to /mnt/HDDPOOL/folder/Plex_Database.

Also Apps->Configuration->Choose Pool shows my HDDPOOL so it seems I’ve restored the OS to the point before I had migrated my apps to the SSD pool. Doh!
Now I guess I have to repeat the migration to SSD (which didn’t work for me through the UI last time so I backed up all my apps, deleted them, and created new ones on the SSD pool).

Mmm the situation shouldn’t be bad as seems, i think you just need to choose the right pool for the apps, maybe make some change on the host path… but for sure you don’t need to move the data.
Data are still there, but the system don’t know that must point here

1 Like