Possible to transfer Odroid to RPi inside Docker?

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

Moderator: leecollings

Post Reply
polomora
Posts: 3
Joined: Monday 26 December 2022 16:27
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Possible to transfer Odroid to RPi inside Docker?

Post by polomora »

Hello,

I have been running Domoticz on an Odroid C4 since August 2022, installed on an SD card. I use it to monitor my smart meter's P1 port. I'm expecting the SD card to fail soon because of the regular write update cycles to the SD card. With this in mind, I've bought a RPi4 and an external SSD. Is it possible to somehow copy the Odroid installation from the Odroid directly into a Docker container on the RPi? This way I can also import my existing DB and P1 port configuration.

Many thanks,
Paul
User avatar
heggink
Posts: 979
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: Possible to transfer Odroid to RPi inside Docker?

Post by heggink »

Are you running natively on the odroid? If so then all it should take is to copy domoticz.db across. If you have any scripts outside of domoticz (bash, python, dzvents) then clearly, you need to copy these separately.
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 :-)
User avatar
Sjonnie2017
Posts: 365
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Possible to transfer Odroid to RPi inside Docker?

Post by Sjonnie2017 »

Maybe I don't fully understand your plan but would it not be more easy to create a backup on the C4, install de RPi with Domoticz and restore the database? It will keep all your configurations and data so if you keep the time between the backup and the restore at a minimum you wouldn't loose much data.
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
polomora
Posts: 3
Joined: Monday 26 December 2022 16:27
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Re: Possible to transfer Odroid to RPi inside Docker?

Post by polomora »

Many thanks for the replies.
I ended up just copying the DB across to the RPi, worked perfectly.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest