Update from pi3b to pi5 best way

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
teo1966
Posts: 43
Joined: Saturday 18 November 2017 12:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Contact:

Update from pi3b to pi5 best way

Post 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.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
HvdW
Posts: 663
Joined: Sunday 01 November 2015 22:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Twente
Contact:

Re: Update from pi3b to pi5 best way

Post 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.
Bugs bug me.
teo1966
Posts: 43
Joined: Saturday 18 November 2017 12:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Contact:

Re: Update from pi3b to pi5 best way

Post 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
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
User avatar
heggink
Posts: 988
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: Update from pi3b to pi5 best way

Post by heggink »

Everything in docker managed through dockge is, imho, easiest to manage. Easy to backup, easy to restore even on a different machine.
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
HvdW
Posts: 663
Joined: Sunday 01 November 2015 22:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Twente
Contact:

Re: Update from pi3b to pi5 best way

Post 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.
Bugs bug me.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest