my instance (supervised in vm) is faulty, cant load containerd
but i do have a backup which I’ve lost the encryption key
since i can access the teminal (press enter for maintenance)
can i access the key somehow from the terminal please?
thanks
ps running docker ps says docker not running, can i repair/reinstall it from terminal? location of docker logs to see why service is not starting please?
If you have lost the encryption key, and have no access to your Home Assistant instance, there is no way to restore the backup.
Nabu Casa does not store your encryption key and cannot provide support in decrypting backups if the key goes missing.
I believe your remaining option is to (using Terminal) navigate to the folder containing all of your Home Assistant configuration files (assuming they’re accessible) and manually copy them (elsewhere). Re-install Home Assistant, shut it down,
then copy the saved files to the new installation (overwriting the existing ones).
If it seems like a lot of work (with potentially unsatisfactory results), you’re not wrong. It’s why the Backup documentation stresses the need to save the encryption key in a safe place and create a Backup Emergency Kit.
thanks using your advice, got it all up and running
step by step info of how i did it for anyone running HA as a VM on a proxmox server who might be in similar situ in future…
start a linux vm on the same server with ssh server
create a new HA proxmox VM and run the initial wizard then switch it off (i created a user with the same credentials on the failed HA, probably not needed)
detach the disk from the new HA VM
attach it too the linux vm instead (step 1)
detach the disk from the failed HA VM and attach it to the linux vm
on the linux vm mount both the new drives to say /mnt/old and /mnt/new
I then used wincsp from a windows pc on the network to ssh in to the linux vm
In winscp i browsed too /mnt/new/… and deleted the homeassistant folder
i then browsed to /mnt/old/… and right clicked on the homeassistant folder and picked “duplicate” and chose the destination on /mnt/new/… where the homeassistant folder was that i deleted
i then shutdown the linux vm and detached the two drives
i then attached the drive that belongs to the newly installed HA back to the new HA vm
It all came back up, happy days
i then deleted the old faulty ha vm (and its old detached drive in the linux vm)
PS Big lesson learnt, got lazy because i assumed my weekly proxmox backups would cover me, but i only keep three weeks of backups for each vm, and all failed the same and my vm had not been hard restarted for weeks!