#Configuration lost after reboot
1 messages · Page 1 of 1 (latest)
I found it. I had to unpack and restore the files by hand on the command line.
My backup was abit older, so I had to recreate some stuff.
How can I automate backups (create a daily backup automatically)?
Can you please share your compose file?
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /btrfs/VMs/HomeAssistant/ContainerConfig:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
devices:
- /dev/ttySonoffZigbee:/dev/ttySonoffZigbee
- /dev/ttyUSB0:/dev/ttyUSB0
restart: unless-stopped
privileged: true
network_mode: host
Here my compose file.
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
Thanks, much better!