Life got fairly busy and my instance of Home Assistant just always ‘worked’ with minimal upkeep or tinkering. I now have some time to tinker and troubleshoot if things go awry while wife and kid are out of town. I think I know how to go about this, but I wanted to revisit the great contributors that got my installation to the relatively maintenance-free place it’s been.
I am currently running HAOS 10.5
in Proxmox 8.1.4
. My HA Core version is 2023.1.2
. Original install is via the amazing scripts by the late tteck, along with his upgrade script from Proxmox v7 to v8…
I’ve kept track of the changelogs when I had time in a personal wiki as it (or as I thought it might) affect my instance and all of the great new features I’d think I would use.
I run Mosquito, ESPHome, DuckDNS, & Node-Red currently as an HA add-ons, and a separate Debian LXC on the same Proxmox machine hosting docker containers for Zigbee2MQTT (1.32.1
), Zwave2MQTT (11.4.2
), RTLAMR2MQTT and my network’s PiHole (2024.02.0
or v5.17.3
). I keep off-machine backups from both Proxmox and from within HA and have verified restore works.
Since I cannot run snapshots (probably due to some unused raw drive in Proxmox I am too afraid or don’t know which one to touch - separate future issue!), I was thinking of the following as an upgrade path:
- Create backup in HA and copyoff local machine
- Create backup of HA-VM in Proxmox and copy off local machine
- Backup the Debian LXC with docker containers
- Upgrade the Docker Containers
- Clone the VM with new storage pool in Proxmox and stop the other HA VM
- Start up the cloned HA VM and hit the OS upgrade button, then the Core Update button
- Review errors and make appropriate edits
- Upgrade HA Add-Ons once HAOS is successfully updated and deal with those changes
- Re-assign new HA-VM MacID to the old’s static IP, reboot VM, and archive or destroy the old VM
If anything fails I should always have a restore point. Does this make logical sense or is there and easier way? I was also thinking of installing a new VM via script and restoring config and add-ons from backup. Possibly the same end result but maybe that can also fix my snapshot storage issue?