vespuccio
(vespuccio)
February 19, 2025, 5:44pm
1
I am using automatic backups. It does not work right now: Backup recover into new radio does not have original names, dashboard cannot find entities - #3 by vespuccio
so Im wondering: what is saved on those backups? Are scenes, automations, saved? What about zigbee2mqtt? Do I have to do a special different backup on it?
Sir_Goodenough
((SG) WhatAreWeFixing.Today)
February 19, 2025, 6:03pm
2
Hello vespuccio ,
I believe the contents of /config or /homeassistant is saved. That is modified by the selections you make in the setup.
vespuccio
(vespuccio)
February 19, 2025, 7:21pm
3
so if I mount the zigbee2mqtt folder inside /config, then it will be saved and restored?
petro
(Petro)
February 19, 2025, 7:25pm
4
What install method are you using?
2 Likes
vespuccio
(vespuccio)
February 19, 2025, 7:42pm
5
it s docker compose with home assistant, zigbee2mqtt and mosquitto:
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
- ./zigbee2mqtt-data:/config/zigbee2mqtt-data
- ./config:/config
restart: unless-stopped
privileged: true
# network_mode: host
ports:
- "127.0.0.1:8123:8123"
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt
restart: unless-stopped
volumes:
- /run/udev:/run/udev:ro
- ./zigbee2mqtt-data:/app/data
ports:
# User Interface port
- "127.0.0.1:8080:8080"
environment:
- TZ=America/New_York
devices:
# Make sure this matched your adapter location
- /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ee9c1e67bee6ed118dd
bb05e0b2af5ab-if00-port0:/dev/ttyACM0
- /dev/ttyUSB0:/dev/ttyUSB0
mqtt:
image: eclipse-mosquitto:2.0
restart: unless-stopped
volumes:
- './mosquitto-data:/mosquitto'
# ports:
# - '1883:1883'
# - '9001:9001'
command: 'mosquitto -c /mosquitto-no-auth.conf'
I added zigbee2mqtt-data to the /config in hopes it gets backed up, but backup is failing with 404 not found every time for me so I cannot test