Page 1 of 1

Migration from pI2 to Pi3

Posted: Tuesday 18 June 2019 8:55
by karlzre
HI,

I have domoticz ruining on a pi, i'm also collecting datas in a influxdb to show nice grafs in grafana.

I would like to migrate my tomoticz to a pi3 on a bigger SD card.

Can i take the pi2 sd, make a image of it, load the image on the new sd, load it in the PI3 and expand the image ?

Is it a good way to migrate the server ?

Thx

Re: Migration from pI2 to Pi3

Posted: Tuesday 18 June 2019 9:11
by waaren
karlzre wrote: Tuesday 18 June 2019 8:55 I have domoticz running on a pi, i'm also collecting data in an influxdb to show nice graphs in grafana.
I would like to migrate my domoticz to a pi3 on a bigger SD card.
Can i take the pi2 sd, make a image of it, load the image on the new sd, load it in the PI3 and expand the image ?
Why not just try it ? You won't loose anything else as time if it fails.
Is it a good way to migrate the server ?
Probably not the optimal way to do this as you will also migrate all temp files and stuff that has been left over from earlier tests, etc...

My approach would be to start fresh by installing the new system with the latest stable OS and domoticz dependencies, install a new Domoticz system following the Wiki, test it and when successful: stop domoticz, copy your database, scripts and plugins from your old system and you should be good to go on a new fresh environment.

Re: Migration from pI2 to Pi3

Posted: Saturday 13 July 2019 12:06
by Elijah41
Do

sudo apt-get update
sudo apt-get upgrade

That should hopefully work to make the SD card compatible.