Voted. No improvement for me – this is the first time i’ve had to restore (i was on the latest 2.3 i think it was) and there is NO indicator if the backup is ongoing or not, if it’s done, what’s going on. I’m just sitting here wasting my time staring at a screen.
Can confirm. Just bought a Pi 5 and did a 3.5GB restore in maybe 10-15 minutes (amazing!) but did not receive any indication that the backup was completed.
Progress indicator, or better, some form of basic log output so we know it’s doing something and not stalled.
Support for states are actually there in the Supervisor API but no one built the Frontend elements required for that yet.
I agree something is needed to let you know where the restore of the backup is. A while back I got burned by an update (or so I am led to believe) and the restores which for me take 10-15 mins went on for close to an hour. I had enough and re-built and had another backup which restored most of my stuff.
This is needed. Doubt my half cent will help the cause but just adding my own experience here.
Could it be that backup encryption is an influencing factor?
My last recovery of a backup on an RPi4 took more than 2 hours, and the backup is only 340MB.
I then setup a VM on my Proxmox server and recovered the same backup, took still nearly one hour.
I setup another VM on Proxmox and recovered a backup from two weeks before with 300MB in size, and that was done in 20 minutes.
The only difference between those two backups besides the 40MB in size were that the smaller one did not have any password on it, the other one had.
I have now also voted for the progress indicator, watching 2 hours at “connection lost, re-establishing” was a bigt frightening.
15 minutes of backup recovery for 3,5GB on a RPi5 do not sound right to me, not sure how that should work in relation.
I’m currently restoring my backup of ~500mb on a Raspberry Pi 4 and I still do not have an indicator of the progress. I’ve had it run earlier and I left my workspace to go do things. I came back and it sort of didn’t continue. So I’m trying it again and I still don’t have anything to indicate progress.
I get that an actual progress bar would be very hard to code seeing as it might be the database or an addon or whatever and you cannot take into account everything.
A way to give you an update would be to show whats happening in view only console window. Or a simple steps view like 2N does for example (linux based):
My restore is running. Found out that if you have a monitor and keyboard attached, you can use the cli to do: jobs info
It gives you running jobs. If you see an empty list, it is not doing anything. If it is busy, you see what jobs it finished and which are running (such as restore addons)
I have tried to restore my HA instance several times, since I cannot upgrade from 2024.4.3. However, I have successfully upgraded to OS 12.4.
My backup is 5 GB.
Ryzen 1600X with Virtual Box on Ubuntu 22.04. In Virtual Box, I have set 6 cores and 8 GB RAM (total RAM is 32 GB).
Any help is appreciated.
I did somehow manage to restore my backup of 5 GB. However, it took several hundred of GiB:s flowing to HA. What HA did with all of the GiB:s is unknown to me.
It took several hours for me to get to the screen where I could choose to restore everything or choose what to restore. This time, I choose to restore everything and after that it did not take that long before I had my backup up and running.
Host: Ubuntu 22.04, Virtual Box 7.18. Ryzen 1600X with 32 GB RAM.
I do not know exactly what did it, but now I can restart HA without having to kill VirtualBox. I guess some of these settings did the trick in VirtualBox.
After a couple of hours trying the new HA out, it seems that I have got the same problem. I cannot restart HA without killing the process on my host. I guess it must be something with VirtualBox. All I tried to do was to add InfluxDB, which did not restore correctly and I had to supply it with a database name/password.
Well, now I know a bit more than I did a couple of days ago. I will try KVM instead.
I’m not sure you will get many answers in this section as it’s for feature requests rather than technical assistance. Maybe @moderators can move it for you ?
Not really the indicated feature but a way you can know if the restore process is alive, is by opening up the browser console and heading to the network tag, the backup process seem to ping the browser every certain amount of seconds, not perfect but at least it does let you know something is happening.
I totally agree on this.
I need to restore a 3g backup file on a 4core i7 but I have no idea if its actually doing it or not - i just get a spinning wheel
Truly dont want to brick my machine by rebooting it. The Observer is still up and running.
The Observer would be the best solution for it I agree
Having UI output and/or a log of the restore process could also enable optimizing the whole process. I can’t help but think why restoring a 800MB backup on a pi4 should take multiple hours.
This helped me massively!
I was restoring a 1.5GB backup file to my new mini PC, after ±30 minutes I was wondering if something was still being done or not. I accessed the IP in another tab, that showed me the default onboarding page again, at that point I wasn’t sure if this should show the ‘restore in progress’ or this page.
I ran the jobs info
command and that showed me an error message: Supervisor version incompatible… seems the UI doesn’t reflect that error for some reason.
I’m trying a full restore on my Pi from a ssh shell
[core-ssh backup]$ ha bk restore 5cecad5b
It kicked me out of my connection, can’t ssh back in, and the regular web interface asks me if I want to Create My Smart Home.
Observer looks like this:
So - is this expected behavior during restore? I wholeheartedly agree it’s less than ideal, but does this mean working, or broken, or simply no way to tell?
I guess at this point I’d be tempted to go through initial setup and try and restore from the GUI. You can query HA via the shell on the PI itself (assuming you have a monitor and KB) to see if anything is going on but maybe not in your case
I dunno, feels like this needs some love - people act like restore doesn’t take forever sometimes (it does) and never fails (it does) and a reliable backup is essential for a critical system. Similarly we’re told HAOS will never fail to boot (it does) etc. TBH the only viable option for me is proxmox and snapshots - image based backup that works and has progress and solves both cases.
I’d recommend:
- periodic backups in HA
- GoogleDrive addon to move those offsite
- proxmox as a HV with automated off-device snapshots
My worse case downtime in failure is something like 5 mins.
I’m busy with a restore to a new Home Assistant Yellow and it’s taking long but not sure if it’s failed or not.
If I reload the page it takes me back to the onboarding page again which allows me to upload the backup file again? That seems weird, I would think it would prevent me from doing that if it was already busy with a restore.
Okay, I have no idea what happened. The first attempt must have failed, I waited about an hour and then decided to restart it. I then did the restore again and it was successful in less than 10 minutes (900MB restore file).
Tip: if you are restoring and you load up the page again, it shouldn’t show you the onboarding page. Pretty sure that means it failed.