Update on the #homeassistant restore - everything worked almost perfectly. Three gotchas I found so far:
- The “restoring” page would just keep displaying, since after the restore, the service no longer responded to homeassistant.local. Luckily I saw my soundbar turn on, which is always a good indicator that HA rebooted.
- The backup seemingly did not contain the sound files I had uploaded, so my improvised temporary doorbell is borked until I upload a new sound file.
- The most interesting one: The zigbee devices did not reconnect initially, except for a single one, and the reason was interesting - I learned something new about Zigbee today.
Apparently Zigbee has a frame counter, and the devices will remember the last frame counter they observed, and refuse messages with a lower count afterwards. The backup contained stale frame counters, since the machine died several hours after the last backup, hence, all devices were refusing messages from the coordinator. The solution was to power-cycle all mains-powered devices. The battery-powered devices came back automatically after that, except for two buttons which I had to re-pair manually. Credits to Claude for figuring this out based on the logs.
Other than that, quite happy with the “restore from backup” on Home Assistant for now. Now I only need to reconfigure my two wall tablets to point to the new local home assistant URL, as the RPi has a different hostname on my network now, and the wall tablets used the local alias of the old machine for the connection, as I did not want to route them via the internet ingress through Nabu Casa. But that’s not the fault of the backup, that’s just me configuring my stuff weird.