Restoring home assistant container on a new host

Hi,

Silly me, I forgot to copy the backup encryption key.
Now, my raspberry pi SD-card lost the boot sector and I had to reinstall to a new card. I can mount the old data share and access the folder where I’m starting home assistant container from. I was thinking that I should be able to mount the old drive, move to the folder and run “compose up”.
What happens is a new home assistant starts up and asks me to create new or restore from backup.
How can I get the container to read from the old config file?

Thanks,
HL

ok. Cracked it.
Absolute path rather than relative in the compose file.

Hou missed a couple of steps:

  • Download the encryption key ASAP
  • Store it in a safe place
  • Mount a share on another host in your local network
  • Configure backup to store at least one unencrypted version there
  • Buy an SSD for HA

:wink: