Is is possible to move existing HA installation to a new machine?

I want to update my hardware and migrate to a new machine. Is this possible without starting all over again? And is there a procedure to do this? Thank you.

Yes

Procedure depends on install method but it’s basically either

HAOS
Install on new hardware as default. Restore backup

DOCKER
Install on new hardware as default. Stop container. Replace config folder with config from original system. Verify group:user of folder is correct. Start container

EDIT
Best to use same version for new install to reduce breaking change causing confusion. Update after restore and verify working

1 Like

Backup and restore. Worked like a charm for me migrating from an rpi to a nuc. If you can assign the original ip to the new system it is even kore seamless (I had to change a few settings).

1 Like

So simple to do assuming HAOS to HAOS on the new machine. I did it in half hour a couple months ago.

  1. Do a full backup of the data on old computer. using Setting → System → Backups. Obviously this backup should be to a USB or network drive. Shut down old computer.
  2. Install HAOS on the new machine. Move coordinators to the new machine. Log into the new machine with homeassistant.local or whatever the new IP is :8123. It will recognize it is a new installation, ask if you wish to restore.
  3. Restore data from backup.
  4. Once restored, I had to do 2 things. First, I changed the static IP of the new machine to match the static IP of the old machine. Second, I found that the location in Settings → System → Storage didn’t get set properly to my Synology box, so I set that.
  5. Reboot

And that was it.

1 Like

First, super helpful, thanks harryfine!
Second, I had to reconnect Withings but HA walked me through the process.
Third, when you are fixing the BIOS for HA (UEFI on, Secure Boot off), remember to set restart after a power failure, which on Beelink is both buried in the menus and non-mnemonic, changing a random setting from S5 to S0) so you don’t have to do it later when you don’t have access to a screen.
Fourth, one thing I didn’t expect is that the backup does not need to be on the new HA PC. I back up to Synology and connected to the new HA PC on my laptop, put the most recent full backup from Synology in my downloads folder and then HA uploaded it from my laptop to the new HA PC. That was much easier than I expected. (HA is such a thing of beauty!)
Finally, I upgraded from a Raspberry Green to a N100 PC mainly to shave a few seconds off loading my standard dashboard and it does seem to have accomplished that purpose. My standard dashboard has 15 menus and hundreds of buttons, with ~75 IoT devices and over 2000 entities in my system. What used to take 5 seconds on my phone now takes 2-3, which is including the app loading and web traffic.

I’m migrating to a Bare Metal HAOS installation this weekend. I can’t wrap my head around the restore process. I have backups on my existing hardware (HA Blue) as well as Google Drive (via the HA add-on). How do I do a restore on a new machine? Do I need to download the backup from Google on a thumb drive? Or do I need to create a “new” home, install the Google drive add-on and then do a restore? I guess I’m just not understanding how the new machine knows where to find the backup.

HA will look for a folder on the local system. you will need to save it where HA can see it.

Basically, install HAOS as default. After that, when you go to restore it will likely make sense as you will see where it can look for files. At that point you can move the file to that folder or provide HA access by some other means.