host: chelsty-infra

runtime_root: /opt/homelab

conventions:
  services: /opt/homelab/services
  data: /opt/homelab/data
  config: /opt/homelab/config
  logs: /opt/homelab/logs

services:
  zigbee2mqtt:
    data: /opt/homelab/data/zigbee2mqtt
    config: /opt/homelab/config/zigbee2mqtt
    logs: /opt/homelab/logs/zigbee2mqtt
    backup_priority: critical

  mosquitto:
    data: /opt/homelab/data/mosquitto
    config: /opt/homelab/config/mosquitto
    logs: /opt/homelab/logs/mosquitto
    backup_priority: high

  stability-agent:
    data: /opt/homelab/state
    config: /opt/homelab/config/stability-agent
    logs: /opt/homelab/events
    backup_priority: low

backup_sets:
  zigbee2mqtt:
    include:
      - /opt/homelab/config/zigbee2mqtt
      - /opt/homelab/data/zigbee2mqtt
    restore_note: Restore before starting Zigbee2MQTT so coordinator and network state remain aligned.

  slzb-06u:
    include:
      - SLZB-06U firmware version
      - SLZB-06U exported configuration
      - Zigbee network backup generated by Zigbee2MQTT
    restore_note: Restore or reconfigure coordinator state before permitting Zigbee2MQTT to reform the network.
