Hi guys. I am running Hass.io on a Pi 3 and it has been great. I recently got a new Pi 4 and want to move Home Assistant over to that. Can I just move the micro sd card or do I need to start over with the Pi 4 image?
Kevin
Hi guys. I am running Hass.io on a Pi 3 and it has been great. I recently got a new Pi 4 and want to move Home Assistant over to that. Can I just move the micro sd card or do I need to start over with the Pi 4 image?
Kevin
No you canāt. There are different images for the model 3 and 4.
Flash a new image and restore a snapshot.
Iām also thinking of grabbing a pi4 as I have a feeling that the extra RAM and CPU cycles would help my setup as I have a lot going on in nodered etc.
Can I literally just copy and paste the old config directory across to a newly setup hassio, or is there more to a snapshot than that?
A snapshot is not the same as copying over the config directoryā¦
Here is what I did.
I was expecting that the Rpi4 would be faster but I wasnāt expecting it to be this much faster. The HomeKit integration is where I notice it the most. Siri responds almost instantly now. My wife even noticed and commented on home assistant being faster. I highly recommend it.
My pi4 upgrade made a huge difference. I also recommend using a SSD instead of running Home Assistant from an SD card.
Itās good to hear that there are noticeable gains!
What flavour pi4 did you go for?
Also - I thought SSD compatibility was just on the pi3?
Would you please let us know how are you using an SSD drive with your RPi4? Thank you!
Well, currently the proper USB boot capability is not yet available, there are workarounds. Basically you boot from the SD card, but all the relevant files are on the SSD. I recommend this USB-boot tool (itās a script that does everything for you that you would otherwise would have to do manually). Itās pretty neat because you can even move your existing SD card installation onto an SSD (but itās fine if you just have the OS on the SD card so far). It only takes a few minutes and it works perfeclty. It was updated to work with pi4 although it was originally made for pi3.
Great!! I truly appreciate the info!
Iāve been looking into doing this and the normal guides talk about either āspecific compatible drivesā or changing the āsystemā location in fstab or in cmdline.txt
Iāve not seen this script before but the instructions are a bit vague.
I assume youād need to change āsomethingā on the sd to have it redirect (for unattended boots) but I donāt see how it does that.
Would you be amenable to write up a pi 4 ssd hassio / ha installation ? (or should that be using the new naming as announced today.?)
I can do that (although I dont know when). The instructions of the script are vague, but once you actually run the script itās pretty straight forward.
I run Raspian Lite with Docker and Hassio. I can give you a quick and dirty guide now:
usb-boot
and make SSD boot device+copy files from SD card to SSD with the toolsudo curl -fsSL https://get.docker.com | sh
sudo apt-get install
)sudo su
to get root accesscurl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh | bash -s -- -m raspberrypi4
You Sir are a gentleman and a scholar !
I thank you
Iāll give it a go on both a pi3 and a pi4 and report back with questions / snags
Cheers
Well I have used a small external hard drive in the usb 3 (waiting on another ssd adapter, as last one wonāt even let the pi boot). And have it running on a pi 4 with everspring z wave stick plugged into a USB 2 port.
Everything pretty much as you describe. Though some comments to make it more accessible to all : -
Not sure about : -
All in all the best and the closest Iāve come to getting it running with an external drive - my thanks
Metric. pi3 pi4
Checkconfig 24s 8s
Reboot 198s 215s ???
Restart will edit this later when I do the tests
Reload autom
Reload scripts
All below here is additional (the forum platform must think cib and I have a bromance as itās objecting to me posting again, ālet some others join the conversationā )
Samba : - hahaha well Iāve been using samba for about 20 years (used to build my own NASās) so I will always find a way ! Never thought of putting samba in its own docker though. Its so easy to restart anyway I donāt think Iāll bother with that.
No, I was more concerned about newbies following instructions to get to share the āconfigā folder (not only that but the other folders ābeneath thatā like backup etc.
I see you set it up with the username āuserā which is the same as hassio was created with, but mine didnāt complain when I used another name.
I think a simple setup for most newbies will be fine in the instructions. Advanced users can meddle to their hearts content.
So you can either use the Samba add-on (which is enough for most people) to edit your config files etc., or you can setup regular samba in rasbian directly. Since I also had troubles setting it up (was my first time), I ended up using a dockerized version of samba (I also have another external HDD in this setup):
sudo docker run -d -p my-ip:445:445 \
-v /mnt/Seagate:/Seagate \
-v /usr/share/hassio:/Hassio \
--name NasPi trnape/rpi-samba \
-u "user:password" \
-u "guest:guest" \
-s "Seagate:/Seagate:rw:user" \
-s "Hassio:/Hassio:rw:user"\
No way to migrate from pi3 to pi4 with snapshot.
I did a full snapshot on pi3 and moved to pi4 then first I tried with wipe and restore but the pi4 stuck as it was a new installation then I tried simply ārestoreā and HA never restart. I deleted the DB as suggested but same result the GUI doesnāt bring online.
Any suggestion?
thanks
Same for me. Followed the steps but now doesnāt come up
I hate to do EVERYTHING all over again,
In the endā¦ I managed to move my installation to Pi4.
I installed from scratch the Pi4 installing all the plugins and integration.
Then I copied only configuration and SSL.
Iām migrating from an Intel NUC running Ubuntu 18.04 and Docker, I assume the process is the same?
1. Download the [Hass.io ](http://hass.io/) image for Rpi4
2. Image the new microSD card
3. Let the the Rpi4 boot and sit and download everything
4. Make a snapshot on the Rpi3 and download it
5. On the Rpi4 install Samba Share and copy the snapshot into the backup folder
6. Reboot the Rpi4
7. Restore the snapshot on the Rpi4
8. Shutdown the Rpi3 and change the Rpi4 to have the IP of the Rpi3
Hi there, I followed this instructions but for me it stucks at point 6. After reboot the copied snapshot is not shown in Snapshots (available snapshots). Anybody out there who can help?