Unable to restore backup in 2022.3.3 after migration to SSD

I’m trying to migrate my HA instance from a SD Card to a SSD.

  • Updated everything to the latest (everything still works just fine – except ZHA)
  • Made a full back-up and downloaded it
  • Created a new HA 7.4 image on SSD and booted fine
  • Connected to webserver, re-created my user ID
  • Updated supervisor to 2022.3.3
  • Uploaded backup file
  • Start full restore

then it never comes back.

Repeated multiple times. Last time, I started the backup restore from the command line console to see if I there would be any error messages. Nope. It’s been stuck at “Processing…” for over an hour now.

Help?

Well… it was still at the same point after dinner so I hit CTRL/C and checked the logs… Smells like the restore process fails to install missing add-ons before trying to restore their data.

A seriously need to dust my monitor…

Started SSD-based install from scratch again, this time installing the add-ons before restoring the backup. Still hung but seems to have gotten further…

Hmmmmm… those are sub-folders in the backup archive… I wonder if I can unpack them manually??

Screen Shot 2022-03-10 at 20.15.48

# cd /mnt/data/supervisor
# ls backup
<slug>.tar
# mkdir foo
# cd foo
# tar xf ../backup/<slug>.tar
# ls

Got the tar.gz files… now looks like only ssl.tar.gz has something, so…

# cd ../ssl
# tar xzf ../foo/ssl.tar.gz
  • Cross fingers
  • Reboot

Nope. Still no web service at http*://homeassistant.local:8123 but I can reach it using https://192.168.X.Y:8123!!! Progress!

Update: It is now responding to ‘homeassistant.local’ … maybe I simply had to wait for the local name to be broadcast.

Will leave it up overnight and see how healthy it is tomorrow morning.

Hi Janick,

I am encountering the same issue and I can see the sub-folders in my backup archive but how and where to extract them inside Home assistant? Could you please list the complete procedure for making the restore working?

Thank you,

It is solved now, I have installed the addons and re-configured it all manually then used a partial restore instead of restoring the full backup (which include the addons causing this freezing issue)

1 Like

I have the same issue for days now, tried different SSD drives and Sata to USB adapters.

I’ve got the exact same Problem. Seems like our best bet is to wait for the next release and hope it is fixed there.

So I installed fresh to SSD, enabled ssh and Samba and copied over the latest Google backup to the \backups folder in HA and restored using cli and it’s restored.

ha backups
ha backups restore slug number

1 Like

Interesting! Why would this proces be any different from manually starting the restore?

Anyway, I will give it a try if I find some time over the weekend.

Thanks for sharing your findings!

1 Like

Ok good news. I got it to work right now as well.
I updated HA core to 2022.3.5 and the supervisor to 2022.03.4.
Then I just did the backup and restore backup process the manual way, directly from within HA (so no SSH or CLI).
And it worked without any issues. So the problem must have been patched over the last few days.
Thanks everyone for their input and the dev team for getting on this issue so extremely fast! :grinning:

1 Like

Good to hear :slight_smile:

I can confirm the issue is fixed in 2022.3.5

I just restored a full backup onto by spare boot device without problems.