Restarting from Snapshot

So my HA won’t boot up anymore. the log shows 0 errors and I already took out the only change I did from my config file. I still have samba access to it of course.
I did a snapshot 2 days ago. So I see them but how do I activate it so that it reboots to the last snapshot?

Thanks

I found the last snapshot and found homeassistant.tar.gz in there and unzipped that.
Copied it back over to the hassio and… still won’t boot… what!?

This is my error log

Is this part of the problem?

2020-03-06 12:15:28 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=99 from 2020-03-01 01:02:46.793083)

My config was checked and valid btw.

So now all I got is Samba access. No web interface is loading. What do I do from here?
Can I re install from scratch and then load the snapshot? I mean I kinda already did that.

Could it be my router blocking access to http://hassio.local:8123?

So going to http://hassio.local:8123/ wasn’t working as I said, the duckdns address wasn’t either but for some reason 192.168.1.xx:8123 did work.
From there if I went back to http://hassio.local:8123/ then that worked too!!
Weird

Now it does it every time I restart the HA.
I just wait 5, 10 , 15 minutes and then it works.

I’m just talking to myself…

In answer to your original question,

The usual process is to

  • Copy the snapshot off the HA server.
  • Reinstall home assistant.
  • Install Samba or SSH addon.
  • Copy the snapshot back to HA.
  • Go to the snapshot in the supervisor page and click refresh (top right).
  • Click on the snapshot and select “restore selected”.

Yes, I did both. I just copied all files in the config folder but I kept getting these errors:
Error saving event: <Event state_changed[L]: entity_id
Basically problems accessing the databases. No history was available. So I restarted just like you said above to my latest backup and I get the same problem. Database errors. So no history and everything is slow for some reason. I’m about to try and start fresh again and re install everything manually.

But a backup is a backup, it should be doing this. Especially when you started fresh the second time I did it.

Yeah snapshots do not restore the history database well for some reason. Doesn’t matter if you are using the core DB or MariaDB. You still have to clear/delete it after a snapshot restore.