Restore backup help

Hi.

So i made an backup of my homeassistant and made a new fresh install with balena etcher.
I choose the backup restore function and its started to install the backup (200mb),
But the installation never stops, it ran all night but still not finished.
Does it take that long time?
Is there another way to install a backup?

The other way is to flash a new install of Home Assistant, log in with a throw away account (it will be over-written). Install the SAMBA add-on and copy your backup to the new system. On the Settings → System → Backups page press the three dots → reload menu item to make your backup visible. Restore it.

1 Like

where do i put the backup, in wich folder?

or is it possible to put the backup on a usb flash memory and put it on the rpi?

/backup

Yes if you know how to mount a drive in Linux and move a file using the mv command.

If not then a SAMBA share is a lot easier.

You could also use SSH to transfer the file, even using WinSCP.

200mb seems rather low to me for a full backup… mines almost 1gb.

I managed to transfer the file and restored it, but homeassistant still keeps crashing, so i connected a hdmi to the rpi 3b+, and i can see that the rpi crashes becuse of high memory usage, this wasnt a problem earlier but now it is.

What can i do to fix this ?

Should i get a rpi 4 or 5?

I also have a qnap nas, ive seen that homeassistant is avalible there, should i use the qnap instead ?
If so, can i just restore the backup from my rpi?
And how about the z wave and zigbee stick i have on my rpi? Can i just plug them in my qnap and it would work?

6.5gb here.

A full backup takes about 10 minutes.
A full restore takes about 15 minutes.
HAOS Bare metal on an Intel NUC i3

I suspect that you have minimal RAM to begin with. Restore needs to run a program to unzip the tar backup file and copy the contents to the appropriate folders. If you are on the edge of “enough” RAM, then restore may not work. So do it manually the way @tom_l suggested..

2 Likes

You really only have two options:

  1. Hardware: install more RAM, or run on better hardware.

  2. Software: work out what is using the RAM and stop using it. Voice Assistant maybe?

I’m pretty sure that is a Container install not a HAOS install (not 100% certain) so that would mean you no longer have access to add-ons and would have to manage your own containers. Also (just my opinion) I like my NAS to just be a NAS.

The pi3B will still run Home Assistant but it is the bare minimum and may not be suitable for more complex installations. See:

https://www.home-assistant.io/installation/raspberrypi#suggested-hardware

Move away from the pi3b’s tiny 1GB ram.

Yes, any supported hardware with at least 2GB (more realistically, 4GB) of ram will prevent this issue in the foreseeable future