I have TrueNAS Scale on a MiniPC and the boot nvme failed with bad sectors. I have tried data recovery on the drive but I think it is a lost cause. I am eating humble pie for not having a second boot drive.
I do have a boot pool config file backup but I made it for 23.10 (Cobia) and I’m fairly sure I upgraded to 24.04 (Dragonfish) since. Does that matter? Shall I install Cobia and then restore the boot pool config? I am also open to setting up TrueNAS again from scratch and importing the pools if that is better. Also FYI, one of the datasets is encrypted. I’m not sure if that changes the advice at all.
Any help will be much appreciated. Lesson learned, I won’t have this problem happen again!
What the config includes is not just the pool/dataset definitins (or even these - they may be stored by ZFS) but all the other settings like apps and cron jobs and SMART settings and replications and …
If these haven’t changed since Cobia, then the configuration file you have should be fine, but if they have changed then you will have to try to remember what they were.
The easiest way to ensure you have a pretty up to date configuration file is to implement @joeschmuck’s Multi Report script which (amongst a lot of other very useful things) sends you a copy of your system configuration by email once a week.
If I did make any changes since the backup, it wasn’t much or anything major. If I don’t remember any of the small changes, I can live without them for now and make changes in future as necessary. My main concern is just to be able to access the data in the pools and not corrupt them in any way.
I would not use a Cobia config in EE. (Unless we are sure that EE can use it without issues).
Beyond the change from kubernetes to docker, there may be other smaller changes.
What happened to the backup file that you are forced to save (unless you willfully unclick the option) every time you upgrade?
Bottom line. Easiest, most reliable way would be to install the same old version, on a different PC (or same but disconnect data drives) and apply old config, upgrade to EE and save and use new config after upgrade.
Success! This worked well and everything looks fine.
I noticed when trying to save my backup config files, my browser automatically blocks them and I have to click “keep” on a corner popup to actually save the files. It blocks them because I am accessing TrueNAS on my home network using http instead of https so the browser needs extra confirmation. I had definitely upgraded to Dragonfish in the past so I must have not noticed this issue when trying to save my backup config file.
Anyways, thanks again to you and everyone that took the time to help.