ZHA libraries will soon support ConBee/RaspBee backup and restore that can be used for Zigbee network migrations

zigpy developers are apparently working on deconz backup and draft pull request can be found here:

https://github.com/zigpy/zigpy-cli/pull/2

Part of that larger PR include: “Initial implementation of cross-adapter network backup/restore”.

So that means that users of ZHA with ConBee or RaspBee can soon do backup and migrations too.

At least that is how I interpret answer from puddly when posted this feature request for zigpy-deconz:

https://github.com/zigpy/zigpy-deconz/issues/177

Request for developers who own ConBee or RaspBee (deCONZ based adapters) and are depending on zigpy-deconz to consider implementing Zigbee network backup and restore tools to zigpy-deconz (or zigpy-cli) supporting “Open ZigBee Coordinator Backup Format” as already supported by both zigpy-znp and bellows radio libraries:

FYI, this open format is already used as a migration method for other types of adapters as seen here:

Note! Please understand that zigpy and the zigpy-deconz radio libraries which ZHA depends on are all free and open-source library with only volunteering developers working on them without pay so remember and you and anyone else are also are more than welcome to code the feature for it (the zigpy developers have so far been more than happy to help and other volenteering developers who are willing to step in to assist with helping to fix bugs or add features).

PS: This Open ZigBee Coordinator Backup Format is also used by the Zigbee2MQTT (Z2M) project.

PPS: This open backup format is not supported by dresden elektronik’s official Phoscon Software.

PPPS: Until this happens will need to backup ConBee and RaspBee NVRAM with Phoscon/deCONZ:

https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Backup-%26-Restore

https://flemmingss.com/how-to-backup-and-restore-deconz-from-a-defective-installation/

2 Likes

I’m considering moving from ZHA to Z2M and from a Conbee II to a Sonoff Zigbee 3.0 coordinator. This initiative sounds like it would lessen my workload considerably! Big yay!

FYI, testers testing it has now confirmed that patches for the mentioned pull request work with ConBee:

https://github.com/zigpy/zigpy-cli/pull/2

PS: Consider voting for related feature request → ZHA integration to do nightly backup of both Zigbee Coordinator adapter/dongle/stick and Zigbee database?

2 Likes

Is it possible now to move from CC2531 to Conbee II or Raspbee ? 2022.07 is released now, but i cant find informations about backup&restore.

It is possible but currently, you still have to do the backup and restore via zigpy / zigpy-cli, again see → https://github.com/zigpy/zigpy-cli/pull/2

But keep an eye on ZHA integration to do nightly backup of both Zigbee Coordinator adapter/dongle/stick and Zigbee network/database?