So something I figured out later is that if you are trying to restore a large backup using the onboarding link at the bottom, it will not work with backups larger than I believe 1 or 2GB. @mzac is correct that restoring after the onboarding is the best route with larger backups.
Also, since then I am now using an SSD for booting the OS and not an SD card. This has vastly improved performance and stability.
Restoring from snapshot will make everthing work in Pi 4 as it did on Pi 3? Zigbee bindings, integrations, lovelace…
Yes it will, even if you change from 32-bit to 64-bit.
I know that this topic is old, but I was searching around for some help as I had recently gotten a Pi4, but was reluctant to change incase of any issues.
The process I followed was to create a backup on the Pi3, download it to the computer I was logged into HA using. I had installed the HA OS using the Pi imager on the Pi4. I logged in, uploaded the backup and restored the full backup.
Once the IP address on the new one matched the old one everything seemed to be working perfectly.
I just hope I haven’t typed this too soon.
You are absolutly right - snapshotting makes no sence - hence that will never work
I’ve just done this migration after reading this thread and some others where there was some conflicting advice about doing a partial backup rather than a full one. It has to be a full backup or you will be missing most of your customisations (DAMHIK).
This is using HAOS and with a static IPv4 address configured within HA. If you’re using static DHCP there would be a couple of extra steps to sort that out. What worked for me was simply:
- Make sure Pi3 is running the latest of everything
- Prepare a new SD card with the Pi4 HAOS according to the documents
- Do a full backup on the Pi3 and download it using your browser
- Unplug the Pi3 from the network
- Plug the Pi4 into the network and boot it
- Wait a suprisingly long time while it’s “Preparing” before the web interface on port 8123 gives you an initial screen
- Use the option to restore from a backup, supplying the .tar file downloaded previously
- You will then get a “restoring backup” screen that never completes. However, after some time it has actually completed.
In my case I had the SSH add-on installed, and once that had been restored and started, I could use that to log in and use “docker stats” to see when it looked like the restore had finished.
If you plug in a keyboard and screen during the initial installation phase and/or the restore, you can use the command line to see what’s going on (“supervisor logs”, “core logs”, and apparently “login” will give you a shell on the bare OS).
With hindsight, I feel that this procedure isn’t really well documented/tested enough, as moving from lower to higher powered Pis is clearly going o be a very common operation.
I just assume the process should be the same if you use an SSD instead of an SD Card. Can anyone confirm?
Yes, indeed.
OK, i would need a second SSD to go this way, right? Or might it be possible in some way to just move the SSD from Pi3 to Pi4?
Alternative:
- Do a full backup on the Pi3 and download it to another computer
- Unplug the Pi3 from the network
- Flash HA OS for Pi 4 to your SSD
- Plug the Pi4 into the network and boot it
- Wait a surprisingly long time while it’s “Preparing” before the web interface on port 8123 gives you an initial screen
- Use the option to restore from a backup, supplying the .tar file saved previously
- You will then get a “restoring backup” screen that never completes. However, after some time it has actually completed.
That sounds totally logic to me. Thank you!
Worked like a charm! Thank you!
Ok, SO I’m in big trouble.
My Pi3b+ just died, it powers on but does not connect to the wifi or via ethernet cable.
I’ve got a Pi5, how do I migrate everything without a snapshot?
I have a snapshot from last August but HA has been updated several times since.
What should I do?
Can I copy files from the SD card and save my setup? Please help.
I plugged in the HDMI and monitor and there is a whole lot of code and that end on - “Home assisstant CLI not starting! Jump into emergency console…
#”
Any one any ideas how to fix this?
Entering “Login”, just tries to login and then same error pops up.
So I am not inside HA yet (no HA prompt, only a #)
I also checked “nmcli connection show” and it says, “network manager is not running”.
What should I do?