Update went pear shaped. How do I restore?

I think this may be mostly a Docker question?

  • I have HA running in Docker in a VM.
  • Runs great. Have updated several times over the past couple of years.
  • I have a backup of my VM made today.
  • After I restarted the VM I updated to the latest stable version (it’s like 13 hours old)
  • It started up in “Recovery Mode”
  • I don’t have time to fix it, so I just nuked it and did a pull on an older version.
  • I don’t recall which version was actually working so I tried a few - all failed with similar log messages

My VM is doing other tasks and so I can’t just roll back to the last version, but I can open it on another computer and extract the files.

Where does Docker hide it’s jewels? I figure I need one or two directories to copy from backup and plop into VM and it’s golden.

I can figure out what went wrong with the update after the holidays are over.

I tried going through my command history and all I did was install :stable - but history doesn’t show when the commands were issued, so I have no idea of what version that might have been.

So I can avoid this next time, is there an integration that includes a backup and restore feature?

That is for you to know. You define it in the docker-compose file or on the docker run command.

Since January HA has built-in backup options. Settings → System → Backups