#zigbee2mqtt can't auto-backup like zwave-js-ui, and you can only request a backup and receive the response via MQTT.

I want to back up the DB/state without having to stop the container, so I need this to avoid corruption with SQLite. I made this script to auto-backup the db/state.

Let me know if you see any improvements to make! I couldn't find anything like this existing to automate the backups.

https://gist.github.com/cbenard/6c917e5c6cc7d6aedf88b20d1853a657

#zigbee #homeassistant #homeautomation #docker #linux #bash

Zigbee2MQTT Automated Backup

Zigbee2MQTT Automated Backup. GitHub Gist: instantly share code, notes, and snippets.

Gist