Page 1 of 1

Possible to transfer Odroid to RPi inside Docker?

Posted: Monday 06 November 2023 18:19
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

Re: Possible to transfer Odroid to RPi inside Docker?

Posted: Monday 06 November 2023 18:29
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.

Re: Possible to transfer Odroid to RPi inside Docker?

Posted: Monday 06 November 2023 18:29
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.

Re: Possible to transfer Odroid to RPi inside Docker?

Posted: Sunday 19 November 2023 18:37
by polomora
Many thanks for the replies.
I ended up just copying the DB across to the RPi, worked perfectly.