I have an install of home assistant that has been 5 years old at this point. It has seen the early days, and all the rough edges and the last several years of high quality releases and it has been a core and indispensable part of my life. It was installed with a supervisor because back then, it used to be the only way to get an install and for a long time, it was the recommended way to install.
Given that supervisor is getting deprecated this year end, I figured this weekend is a great time to do this upgrade. My home assistant resides on a small amd thin client, so I took one last backup of home assistant to my synology before I rekicked. I also rsynced over the entire contents of
/usr/share/hassio
I booted into an ubuntu live image and dd-ed over the contents of https://github.com/home-assistant/operating-system/releases/download/15.2/haos_generic-x86-64-15.2.img.xz
to the root drive. My plan is to restore with the latest backup because I’ve heard how everyone has had a pleasant experience.
I am at the page to restore the backup and I am staring at a dialog that is asking me for an encryption key. I don’t recall setting one, though I am sure the reason why I am asked for one is because I set one. I have been looking around the usual locations to see where I might have placed a backup key, but I don’t know if I did that. I’ve been complacent about maintenance for a while and I am now deeply regretting it.
I am largely to blame for this. The last couple of years have been so smooth with hass that I’ve been going through releases without thinking too much and I haven’t reimaged in years and forgotten all the tiny details. I know my way around a linux install and I’ve been happily running the supervised install with zero complaints. Can I get the install to a point where I can ssh in and copy over the database and addon list? I realize it might be hacky, but my install has a dozen or more hacs repos, 30-40 integrations and three dozen small automations that would be hard to recreate.
ETA: I have backups in a three tier solution - stored on the disk, stored on the local nas, and also stored in google drive. The problem is that I never tested restoring the backup and I didn’t realize that I am missing the encryption key until the time I had to restore it. From what I am reading the only way to pull the encryption key was from the original install before I wiped the disk.