All my configuration files are gone

I went to address the repair issue about my template syntax (for weather) and made a complete hash of it. So, I restored my settings from the last backup. Now I’m back up and running with the same warning about the legacy template configuration, but when I use the ssh or editor add-ons, I see no files whatsoever. No configuration.yaml, nothing. Did I miss a memo and these files have moved?

After restarts, the legacy syntax warning is still there and I’m still seeing the temperature outside, so it must be still there somewhere. Or maybe my installation is like one of those cartoon characters who has run off a cliff and doesn’t know it yet…

My backups are all failing to download now too. I’m starting to get seriously worried.

OK, so I can an hourly backup from 6pm last night (before I messed it up) and the files I expect to see are in the /data directory (I remember them being in my /homeassistant directory). Should I upload them? The system is running. I’m afraid to make something worse.

I’m going to do a full restore from the last known good state (a couple of days ago) and try again.

OK, restoring from two days ago and then repeated the last couple of days of updates (e.g. to 12.1) seems to have fixed it. And to avoid borking my template config again, I didn’t use the editor add-on, but Emacs (and Tramp) to edit them in a proper editor. (I still dislike YAML.)

I’m not sure what happened there. Maybe the restore got interrupted before it finished.

The remaining issue is that if I try to download a backup through the HA UX it fails at the very end. I can use scp through ssh and they download fine. Might be a bug?