So I blundered today. I reset the config of my truenas server wanting to only reset the network config without realizing it would reset everything (yes I know, it says that in the manual). The problem is that my dataset is encrypted and the keyfile I saved isn't working for some reason. I took out the boot drive and I want to try to recover the removed config data.
Just for clarity, my pools are safe and the data is there, they're just encrypted and my backup keyfile is invalid (perhaps I changed the key and didn't update my file). I understand there is no way to decrypt the data without the keyfile, so my only objective is to get the config db and keyfile from the boot drive. I don't know what process truenas does when it removes the old configs, if it does a secure erase or something like that.. So, is it even feasible to do some data forensics on this drive to recover the deleted files? If so, what tools can I use? I have access to a Windows and Ubuntu machine for this
Thanks
Just for clarity, my pools are safe and the data is there, they're just encrypted and my backup keyfile is invalid (perhaps I changed the key and didn't update my file). I understand there is no way to decrypt the data without the keyfile, so my only objective is to get the config db and keyfile from the boot drive. I don't know what process truenas does when it removes the old configs, if it does a secure erase or something like that.. So, is it even feasible to do some data forensics on this drive to recover the deleted files? If so, what tools can I use? I have access to a Windows and Ubuntu machine for this
Thanks