Exclude directories from backup

(Seen a few similar posts from years ago but none since the major backup refactor earlier this year).

Currently the default automatic backup settings seem to include every directory inside my installation’s root hass directory. This happens to include data directories for a bunch of other services I run that are “independent” from homeassistant (influx, esphome, z2m, etc). As a result, my backup sizes are huge (~45gb), take hours to generate, and regularly cause issues for homeassistant.

Is there a way to configure the backup settings to exclude certain directories? Currently, the only option I see to configure backup contents is “Home Assistant settings” (on by default) - no other option to select contents/directories.

More generally, I was expecting HA backups to do something more sophisticated than only tar’ing up the working directory. If I can confirm that’s all it is intended to do, I can easily manage backups myself outside of HA

Backup settings:

Contents of an un-tar’d backup:

Just exclude the influxdb add-on - that will shrink your backups considerably.

What add-ons to include is controlled by: Backup settings - Backup data - Add-ons - choose Custom and select the add-ons you want backed up.