Hello everyone,
I’ve been using HA since 2017 and absolutely enjoying it. thanks in advance for any help.
I’ve reached a point where i would like to upgrade only because zigbee2mqtt requires it.
Since yaml deprecation started I’ve done upgrades only when it was unavoidable, unfortunately it would be too long to explain from a devops point of view and it has been discussed too long in the past, therefore I’ll try to sum it up in one sentence:
The main reason is configuration backups and UI interaction requirements.
I’m currently running version 2021.10.7, since the gap is huge i’m considering starting from scratch even though my setup is quite complex.
TLDR
However, before I upgrade I would like to ensure I can backup HA configuration, restore and redeploy it automatically from a devops point of view.
I read of many native backup restoration issues, I read that changes to some integrations may require removing it completely and re-adding it, these examples are show-stopper for me.
Desired procedure for example would be, pull the configuration from git, fire up a container and HA is fully restored, no UI interactions.
I was wondering if other users could share their approach to achieve this.
my current state:
- I’m running a mini-pc and Ubuntu 22.04 where OS installation and configuration are fully automated by ansible.
- HA and all of its ecosystem listed below are container based and automatically deployed by ansible.
- Home assistant core 2021.10.7
- no cloud integrations other than google assistant.
- mysql db
- zigbee2mqtt
- mosquitto server
- dehydrated
- frigate
- wireguard
- prometheus
- grafana
- I barely use the UI.
- HA history can be wiped at any time, it is only kept for 3 days in HA/DB since it is stored in TSDB for long-term.
Thank you!