Moving Home Assistant from the Green to a mini PC

I moved my whole Home Assistant setup from a Home Assistant Green to a virtual machine on a mini PC in about 20 minutes, without rebuilding it. Here is how, and what did not come back by itself.

A Home Assistant Green, the small hub that ran my smart home before the move

Header image: Nabu Casa.

In the first article in this series I described the three mini PCs that now sit behind my smart home. This one is about the job I was most nervous about: moving Home Assistant itself.

My Home Assistant Green had run the house since February 2026. Every automation, every dashboard and all of my energy history lived on it. If I got this wrong, I would have had to pair everything again, and I would have lost all the history I had collected from the Powerwall, the solar and everything else.

It turned out to be a much easier migration than I expected.

The result at a glance

  • I restored a backup; I didn’t have to rebuild everything
  • it only took about 20 minutes from switching the Green off to seeing my dashboard again
  • automations, dashboards, history and energy data all moved across
  • phones and other devices found the new Home Assistant without being told
  • a (small) handful of things needed attention afterwards
  • the Green stayed untouched as a way back (never needed), and was later reset for use at my place in France

Why move at all?

The honest answer is that the Green was needed somewhere else.

I wanted Home Assistant at my second home in France, and the Green is ideal for a house I am not always in: small, silent, and nothing to look after. Meanwhile a perfectly good mini PC was sitting in a cupboard here.

There were other reasons too. On a mini PC, Home Assistant becomes part of the same nightly backup as everything else. I can take a snapshot before a risky update and roll back if it goes wrong. And there is plenty of room to grow.

That does not mean the Green had become a problem. It really hadn’t. But they had become harder to get at a decent price, and I felt the Green would be better in France than a mini PC would.

Clean install or restore?

My first instinct was to start again. Set up a fresh Home Assistant on the mini PC and move things across one at a time, leaving the old unit behind.

It is a reasonable idea, and for a setup that has grown over time it can be the better route. But it would have come at a cost:

  • history starts from nothing, including the Energy dashboard;
  • every device paired to Home Assistant would have had to be paired again;
  • two Home Assistants cannot safely control the same battery, charger and heating at once, so each piece would have had to be switched over carefully;
  • and knowing me, I would have forgotten something, wiped the old Home Assistant, and then remembered it.

A restore carries every old quirk with it, which I had initially hoped to leave behind. But it also carries everything that works. I chose the restore, and given how easily it went, I would do it again.

One thing made this much easier

My Green had nothing plugged into it except power and a network cable.

It had no Zigbee or Thread stick. My Philips Hue lights talked to the Hue Bridge, my Aqara sensors talked to the Aqara hub, and Home Assistant talked to both of those over the network. So nothing was physically tied to the Green.

If your Green has a Zigbee stick plugged in, you can still do this, but there is an extra step: the stick would have to be moved to the new machine and handed through to Home Assistant. I ended up doing exactly that later, and it is the subject of the last article in this series.

How the move went

I did it in the daytime on purpose. My Powerwall and car charging are managed overnight, and I didn’t want Home Assistant missing while that was happening.

1. Build an empty Home Assistant on the mini PC

On the second mini PC, in Proxmox, I created a virtual machine running Home Assistant OS, the same version the Green was on. It has two processor cores, 4GB of memory and a 32GB disk. Then I left it switched off.

This step touched nothing, and was really easy to do.

The 10-inch rack holding the three mini PCs. Home Assistant now runs on one of them

2. Take a fresh backup of the Green

In Home Assistant, under Settings, System, Backups, I made a new full backup and downloaded it to my laptop. Mine was almost exactly 127MB.

Backups are encrypted, and the restore asks for the key. Make sure you have it written down before you go any further. I left one thing out of the backup: an old ad-blocking add-on that I had already replaced.

3. Switch the Green off

I shut Home Assistant down and unplugged the Green.

This is the one rule that matters: never run the old and new Home Assistant at the same time. They would both try to use the same accounts, the same Apple Home connections and the same automations.

4. Give the new one the old address

On my UniFi router I gave the new virtual machine the same fixed address the Green had used. That is why nothing else in the house needed changing. The phones, the dashboard and other devices all look for Home Assistant at that address, and they simply found it there again.

There was one small snag. The router still had that address reserved for the Green, and would not hand it to anything else until I removed the old entry. That took a little bit of playing around.

5. Start it up and restore

I started the virtual machine. A few minutes later the Home Assistant welcome screen appeared, and it offers a choice: start fresh, or upload a backup.

I uploaded the backup, typed in the key, and waited. About five minutes later the login screen came back by itself, and behind it was my dashboard. The Powerwall level, solar, the bin reminder, who was home. All there.

From unplugging the Green to that moment took about 20 minutes.

What did not come back by itself

It was not perfect, and it is worth being clear about that.

Straight after the restore, 137 of my 950 entities showed as unavailable. I panicked a little at that. But most of them were sensors from the phones, which had not yet reconnected.

Three integrations did not load:

  • the car integration, which had already been asking me to sign in again before the move;
  • a speaker in the lounge, which did not load;
  • the ad blocker, which was looking for the add-on I had deliberately left behind.

None of these was caused by the move to a mini PC. They were either already broken or expected. But a restore is a good moment to find out what was quietly not working. It took around 30 minutes to get it all ironed out.

Keeping the Green as a way back

I did not reset the Green that day. It sat unplugged and untouched, with everything still on it. If the new setup had failed, I could have switched the virtual machine off, plugged the Green back in, and been exactly where I started.

Only once the new Home Assistant had run without problems for a couple of weeks did I pop it in my bag, ready for its move to France.

What got better

Day to day, nothing looks different. The same dashboard, the same automations, the same app on the phones.

Behind the scenes, two things improved straight away.

First, Home Assistant is now backed up every night along with everything else on the mini PC, and a copy goes off site every week.

Second, I added the Proxmox integration to Home Assistant so it could keep an eye on the machines it lives on. It immediately told me two things I did not know: the second mini PC had no backups set up at all, and a disk on the first one was completely full. Both were fixed the same day.

I would not have found either of those for a while otherwise.

Would I recommend it?

If your Green is doing its job and you have no other use for it, leave it alone. This isn’t an upgrade you need. It costs you the machine, it draws more power, and it puts more heat into the rack.

If you already have a small server, or you want the Green for another house, it is a very achievable morning’s work. This is what I would tell you:

  • Take a fresh backup and check you have the key. Without the key, the backup is no use.
  • Never run both at once. Switch the old one off before the new one starts.
  • Reuse the old address. It saves reconnecting everything.
  • Do it in the daytime, when nothing important is scheduled.
  • Keep the old box untouched for a couple of weeks. It is the easiest way back you will ever have.

What’s next

With Home Assistant settled on the mini PC, the Green was free. In the next article it goes to France, starts again from nothing, and gets a small USB stick called the Home Assistant Connect ZBT-2. That stick worked so well that it changed my plans for the UK too.