Is it possible to restore a home assistant configuration to a different device? I want to install Home Assistant on a Pi4 but it might be a while before I can get this. In the meantime, I can get it up and running on a spare PC but I’d like to be able to export the configuration and import it on to the Pi when I eventually get this. Is this possible? What’s the easiest way to do this?
You can do a partial restore of a full backup - maybe that would work? I have restored from a HA supervised on Debian installation to a HASSOS rPi 4 install - that worked fine - I restored all but the Home Assistant Core.
This was quite a few versions ago though.
In the past I’ve moved:
- from rPi3b HA OS install to NUC running HA Core in a venv
- from HA Core in venv to docker-based HA Container.
In both cases I simply did a recursive copy of the config folder, including all hidden directories (.storage etc.) and files - this worked without issue on both moves. I never bothered with the official backup method when using HAOS so cannot comment on the suggested partial restore method. It’s certainly worth taking multiple different types of backups prior to attempting the move though.
If you are using z-wave, provided you’ve followed the recommended approach then devices should be bound to the controller stick and should move without issue, although you may need to adjust the controller device references. I don’t know whether zigbee is handled the same.
Zigbee is indeed handled the same. Its on the stick.
So for both ZWave and Zigbee as long as you get the config forn the integration /addon and have your encryption keys those moves should be easy.
Also, if you have your new gear, never hurts to take a full backup on the production box then go ahead and restore it on the target to see what is going to happen?