You can now back up your complete Zigbee2MQTT configuration

Disclosure: This post contains affiliate links. If you click through and make a purchase, I will earn a commission, at no additional cost to you. Read my full disclosure here.

Zigbee2MQTT 1.26.0 adds a neat feature for those conscious of the fact that things can and do sometimes go wrong. You can now create, and download, a complete backup of your Zigbee2MQTT configuration. This can be done using by publishing zigbee2mqtt/bridge/request/backup using MQTT, or via the frontend.

The date folder backup can be downloaded from the Zigbee2MQTT dashboard

Within the downloaded backup, you will find four files:

  • You will find your configuration in the file configuration.yaml. This includes things such as the MQTT broker configuration, all the devices you have paired and their friendly names, and groups.
  • The configuration file is nothing without the coordinator. Every Zigbee device you have added to Zigbee2MQTT, is paired with a single coordinator. For that reason, there is also a backup of the coordinator in the file coordinator_backup.json.
  • Your database is backup up in the file database.db. The database contains all your individual devices, their, ID, address, and more.
  • Finally, the state.json file is the list interesting of the bunch. It includes the current state of the Zigbee devices controlled by Zigbee2MQTT. These states continually change, and the file will most likely be out-of-date by the time you download it.

About Liam Alexander Colman

is an experienced Home Assistant user who has been utilizing the platform for a variety of projects over an extended period. His journey began with a Raspberry Pi, which quickly grew to three Raspberry Pis and eventually a full-fledged server. Liam's current operating system of choice is Unraid, with Home Assistant comfortably running in a Docker container.
With a deep understanding of the intricacies of Home Assistant, Liam has an impressive setup, consisting of various Zigbee devices, and seamless integrations with existing products such as his Android TV box. For those interested in learning more about Liam's experience with Home Assistant, he shares his insights on how he first started using the platform and his subsequent journey.

1 thought on “You can now back up your complete Zigbee2MQTT configuration”

Leave a comment

1 thought on “You can now back up your complete Zigbee2MQTT configuration”

Leave a comment

Share to...