#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