Moving installation to another machine

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

Moderator: leecollings

Post Reply
cincuranet
Posts: 24
Joined: Sunday 01 October 2017 17:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Moving installation to another machine

Post by cincuranet »

Hi, I'd like to move my Domoticz instance from RPi 2 to new RPi 3 A+. Is there any recommend approach? Especially as I'm using Z-Stick I don't want to loose whole Z-Wave network (I'll move the Z-Stick as well). My idea was something like this:
  • Create backup of database
  • Stop Domoticz
  • Backup the whole directory
  • Install Domoticz on new HW
  • Restore database
  • Stop Domoticz
  • Plug Z-Stick
  • Check that the zwcfg_XXX.xml is there or take it from backup
  • Start Domoticz
Not sure whether I have to take care of zwcfg_XXX.xml or whether it will be recreated as Domoticz starts with Z-Stick connected.

Thanks.
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Moving installation to another machine

Post by emme »

the zwcfg file will be recreated, but settings in there could be NOT reflecting your latest ones... so better to copy it either

Ensure you have the SAME domoticz version from the old to the new installation, maybe an update will be needed in case...

Last: first stop domoticz, then backup the DB and the folder

if you have other installations reinstall then either in the new device (nodered, nodeJs, htop etc etc)

ciao
M
The most dangerous phrase in any language is:
"We always done this way"
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest