Page 1 of 1

Update from pi3b to pi5 best way

Posted: Thursday 25 September 2025 11:58
by teo1966
I bought an 8GB Pi5 with a 256GB SSD to replace my Pi3B with an 8GB SSD. What's the best way to and install and transfer everything, including data, to the Pi5?

pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
pi@raspberrypi:~ $ snap version
snap 2.61.4ubuntu0.16.04.1+esm1
snapd 2.61.4ubuntu0.16.04.1+esm1
series 16
raspbian 11
kernel 6.1.21-v7+
pi@raspberrypi:~ $ cat /sys/firmware/devicetree/base/model
Raspberry Pi 3 Model B Plus Rev 1.3p

I've already read this: https://wiki.domoticz.com/Raspberry_Pi and https://wiki.domoticz.com/Docker
I'm running version 2025.1 on a Pi3B, Z-Wave JS UI with Snap, RFXcom, P1, Enphase, Intergas, Xtend, Daikin, MQTT Auto Discovery, and Weather Underground.

Re: Update from pi3b to pi5 best way

Posted: Friday 26 September 2025 2:01
by HvdW
Try this
Install your RPI5
Copy domoticz directory from RPI3 to RPI5, rename the directory to domoticz.bak
Install domoticz.
See if the installation script picks up some settings.
If not satisfied
Copy domoticz.db from domoticz.bak directory to domoticz directory.
See what fits best.

Other option
Let both RPI's run domoticz and use Winscp to compare and copy files until you're satisfied.

The problem is not copying domoticz.db but the other programs installed on your RPI3 that exchange information with domoticz.

Re: Update from pi3b to pi5 best way

Posted: Monday 29 September 2025 11:47
by teo1966
what is the advice everything in a docker container (domoticz, MQTT auto discovery ), or just domoticz not in a docker container
I'm running version 2025.1 on a Pi3B, Z-Wave usb JS UI with Snap, RFXcom, P1, Enphase, Intergas, Xtend, Daikin, MQTT Auto Discovery, and Weather Underground

Re: Update from pi3b to pi5 best way

Posted: Monday 29 September 2025 12:31
by heggink
Everything in docker managed through dockge is, imho, easiest to manage. Easy to backup, easy to restore even on a different machine.

Re: Update from pi3b to pi5 best way

Posted: Friday 03 October 2025 16:10
by HvdW
Docker uses more resourses than a straight install.
Your post triggered me to update from bullseye to bookworm on my RPI4 2G
I reinstalled everything. I have quite a few dzVents scripts running.
It took me more than 8 hours.
However when you copy your Domoticz subdirectory to your new device and then run the domoticz bash install it will be minutes.