When I restore my backup, HA goes into recovery mode the problem
2026-04-27 10:57:56.929 ERROR (MainThread) [homeassistant.bootstrap] Failed to parse configuration.yaml: Secrets is not a dictionary. Activating recovery mode
If I see the secrets.yaml file, I see that it is empty.
So I did a full VM restore and now I have the old secrets contents. I will try putting them into the empty secrets file and see if that fixes the problem
From now on I think I will not trust Home Assistant Backups
I have separate yaml files in the same level as the configuration.yaml fir (for example notification groups). or other things. Those files were have also empty contents after HA full backup restore. scenes.yaml also was empty.
I had to (again) go back to a proxmox backup, then backup the files, then make a restore of HA backup, then restore the files manually after HA starts in safe mode, checking one by one.
Now I think It “works” but I lose half a day in this.
Well, restoring the backup was a nightmare, I will start doing more proxmox backups and stop the Home Assistant backups.
After recovery the configuration and secrets file manually, I though everything was OK until I needed to check the energy consumption of the last month due some issues I am having. To my surprise EVERY SINGLE ONE ENTITY HAS NO SHORT OR LONG TERM DATA.
Tomorrow I will just restore and old proxmox backup and just live with two days of missing data. For luck I did some automations in yaml instead of the UI on Saturday so I can just copy them from the old proxmox backup and write them manually again.