Migration from pI2 to Pi3

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

Moderator: leecollings

Post Reply
karlzre
Posts: 26
Joined: Sunday 06 August 2017 18:48
Target OS: -
Domoticz version:
Contact:

Migration from pI2 to Pi3

Post 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
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Migration from pI2 to Pi3

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Elijah41
Posts: 1
Joined: Saturday 13 July 2019 11:55
Target OS: Windows
Domoticz version:
Contact:

Re: Migration from pI2 to Pi3

Post by Elijah41 »

Do

sudo apt-get update
sudo apt-get upgrade

That should hopefully work to make the SD card compatible.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest