I had a problem with the ihost device and I had to reformat. I had both manual backups and the emergency kit with the key written.
I reinstalled everything, loaded my 2 backup files, when I tried to recover it rightly asked me for the password. I put the password of the emergency kit and it does not recognize it as correct.
I tried with a second backup, same problem.
and yet I had only one key generated in early January and my last backup is from this morning.
I spent 5 days configuring everything, creating maps, I have more than 200 devices between tuya, sonoff, etc, lots of rules and customizations and now I have to do everything again.?
because it does not read the key correctly.
But what is this encryption for? if it cannot recognize the emergency kit.
you are right, I forgot to write that
Yesterday an update of the home Assistant image arrived, to be safe I launched a manual backup and then I ran the automatic update via the ihost/docker utility.
after the reboot my HA was completely reset from scratch.
so everything could have happened via the update.
now I try those scripts to extract the backup file
Thanks
it seems that the password is wrong and yet I have only created one, I only have that one. I don’t know what to say.
I will try the other tools suggested.
result:
root@kubeprx03:/home/kubewall#
root@kubeprx03:/home/kubewall#
root@kubeprx03:/home/kubewall# python3 decrypt.py -i ha_202501090028.tar -p VQA7-83CH-XTC8-SXMB-5UKJ-SZDS-8ZU6
Extracting ha_202501090028.tar…
Extracting secure tar homeassistant.tar.gz…
Unable to extract SecureTar - maybe your password is wrong or the tar is not password encrypted?
root@kubeprx03:/home/kubewall#
[quote="Get files from password protected snapshot?, poProbably instead of displaying the key I actually recreated it and consequently invalidated the old backups. This is what I remember doing in the past few days.
today I saw that in the HA (backup) panel it is no longer possible to display the BACKUP key… Better this way.
Given the urgency I recreated everything from scratch.
now since Cogneato corrected his script I will try again I will do some tests to decrypt both via HomeAssistant and through the script.
for now thanks to everyone.