I cannot restore home assistant backup

It’s been a while but I don’t think I had to wait this long :confused:
Sorry cannot be of more help

Had the same issue.

Went into the fresh install and updated to the most recent HA version.

Once updated I re-ran backup and it worked.

what was your result? I am doing a 170MB full restore and I have been waiting for 30 minutes but not sure how to check if the restore is actually happening…

Did any of you ever solve it ? I have a full backup (730MB) and went from a Pi4 2gb to a Pi4 4gb the backup is a day old and I cant restore the backup, I do a fresh install and am able to acces the onboarding screen then I upload the backup and nothing works anymore, I have waited for several hours.

Happened to me as well. My raspberry pi 3 died few days ago… The house bell is not working… nothing… need to press with the finger on the button to turn on the light . Crazy :rofl:

Anyway, got myself new pi 4, installed new fresh hassio and did the restore… boom. Nothing work again… connected the pi to screen saw the cli waiting for something… connected a keyboard ans started to play. Ran ‘host reboot’, after a while a full reboot was made… but still no result. Played a bit more. And then ran ‘core restart’…
And then waiting…
Processing…

:partying_face: Works great…

Note that after the new installation the up address is different… so maybe it smart before doing the restore to change the IP to the old one. And then do the restore. I didn’t do it though.

Hope it helps someone

I’m experiencing this problem as well. Was hoping to migrate from a VM running in unraid to bare metal , however after 10 hours the restore has not completed. I notice that the heatsink on the cpu is very hot (wyse 5060 passive cooled) so something is happening.
I’ve also created another VM in unraid and have tried restoring a backup on that with exactly the same result, the cpu has been at 100% usage for many hours.

I am in the same boat and I am extra frustrated because I have a second HASS install at another location that I recently migrated to a different machine with zero issues. Now I have tried restoring a backup of my home setup to two different Raspberry Pis with no luck

had the same problem. A CLI restore eventually worked a bit. Most was restored. Had to reinstall a few addos, reinstall mqtt , mariadb, reconfigre zigbeed2mqtt. Finally after a full day, my ha is working.

I need help if anyone knows how to get out of this mess.

Following the last update several devices started to malfunction. So I decided to downgrade.

First I tried to restore from HA without success. As it didn’t work, I tested two methods explained in the french forum: make a clean installation (therefore erase everything) then restore from the welcome message or create an account before importing a backup and restoring.

Nothing works.

In both cases after clicking on restore, nothing more happens. I waited a whole night before restarting. Nothing changed. Therefore a new and virgin HA.

I’m on a Raspberry Pi4
HassOS
OCZ Vertex 60GB SSD

I made an disk image of my SSD under Windows, sector by sector before erasing in the first place. But when I restore this disk image, the system does not boot.

I tried :

  • Complete restore on a new install
  • Restore first the core then the addons and the files on a new install
  • Restore the files and the addons then the core on a new install
  • Clean install on SD card and restore in this system

→ In all cases only the restore of addons works

  • Restore disk image of my SSD made with HDClone X.4
  • Reinstall on SD card, after core update

→ The system does not start

Archives files are clean : I can open and browse it. I’m trying to restore manually by copying files, but it doesn’t work for now.

Another hassle: I can no longer connect in SSH on the RPI using Putty. I put a ‘ssh’ file at the root of the SD card, but the connection is refused (I can ping via windows). I don’t know how to access the bootloader to target the SD (and not the SSD) because it is accessible in SSH! Over the internet there is a lot of resources to switch from SD to SSD but not the other way around…

I’m considering redoing everything from scratch but before that I need a working backup system, no way to redo everything and lose everything again.

If anyone knows what to do, thanks for the help, this is my worst experience with HA since I began last february.

I’m in disbelief, but after 6 hours my restore actually completed. A 250mb backup took 6 hours. Give your restore more time and see what happens

1 Like

@ifeign Thank you so much for this post. I was hopeless, when after 2-3 hours I just started over, because couldn’t accept the fact that it might take sooooo long. Thanks to you I found patience and after 4 hours (150Mb backup) it finished successfully. For me the restore process is crap - no heartbeat, no indication of progress, nothing.

2 Likes

Hi, same problem here.

Good that I found this post and had patience to wait…left it during the night and in the next morning the backup was restored and HA running fully functional.

Before reading this post I had tried to restore several times from fresh HA installation in the believe that nothing worked…

Is there any way to track the restore process? Logs?

1 Like

My HA crashed big time yesterday when I tried to update to 2023.9.3. HA never woke up anymore after I started that update. I tried to restore from backup, but nothing happened. I found this thread and understood that it should take time (my backup is 1.9 GB), but things went a bit uncomfortable because it was getting dark and I couldn’t control my lights etc!

Anyway, I let the restore process running for full 12 hours, and still nothing. So, I started from scratch using this guide: Home Assistant: Ultimate Restore Guide thinking that since my backup was over 1GB, I could just drag-and-drop my backup file straight from Google Drive to HA (although it seemed to work at least since restoring process started). Anyway, now I tried that over 1GB size method, and although it has been running only 25 minutes now, I fear this is not working either. I think next I will try partial restore, if that works one part at time… I just have to get this working today, and if backups don’t work, then my home automation is in unacceptable state. I remember restoring from backup maybe 2 years ago, and things worked just fine, but then I had a lot smaller system. Still, it should be crucial to show user SOME PROGRESS about restoring process!

same issues occurs to me.

I am about to reinstall my supervised installation based on debian. But before I’ll do it, I started a test if restoring a backup acutally works.
Therefore I created a supervised HA VM and on the onboarding screen I did “restore from backup”. Based on CPU utilization it seems that something happens for around 30min before the system idles. The process is called "python3 -m supervisor.
But the system never gets done and after a reboot (after 24h of waiting) I get to the onboarding page again.

I also tried to create a dummy account first and then restore a backup from the settings menu. This somehow crashes the entire system and even after reboot it is not accessible anymore.

My backup file is ~1.4GB. The HA version of the system where the backup was taken and the target restore system are both 2023.9.3.

Is there any other way to restore a backup? Maybe copy all files manually etc.

Hello Same here. My 32 Gb SD Card has no more Space. My Backup is 900 MB.
I installed a fresh System on 128 GB Card and tried several times to install the Backup.
After a few hours no response from IP:8123
After a reboot the Onboarding Page is back…

Can you get to a console? SSH? And, are you running Supervisor (not sure if you can on a Pi or not)?

Go to the console and type:
supervisor logs

Mine took a while. I am running it on an old quad core server and the backups are on a Samba Share. So, it took a while. But, I expect it to take much longer on a Pi.

Here is my output at the end:

Hi.

I have a very strange problem. Let me explain it:

I’ve just made a backup from my RPI4-HA 2023.10.3 using Settings/backups in order to use it in a new instalation as a container too in another equipment.

II expected that after installing HA on the new device, there would be a “restore” option, but I only get the screen to install from scratch.

I was expecting the option that should appear, right?

I have the same problem but my backup it 3.1GB (not sure why until the latest release it was about 1.1GB). Now I struggle to backup on the Pi so I’m trying to move to a VM on a bigger system, but the backup cannot be uploaded to the new server (it errors out at 3.05 GB) or just gives a http 400 error.

Really disappointed that the backup and restore functions are so unreliable given our reliance on the tool.

One thing I was stumped with, is that a fresh install of home assistant is on
http://homassistant.local:8123 and it seemed restore of the backup did not work

The issue here was that my backed up config was from a system using
https://homassistant.local:8123 so it never came back finishing the backup

So change http to https after nothing seems to be happening anymore (wait approx an hour) and you may find your system is restored!

Just my two cents - suffering from the same issue - connected a monitor + keyboard - typing:
“core logs” - enter
(command prompt)
I see the logs are indeed changing, as if progress is made.