jcwillox / hass-auto-backup

🗃️ Improved Backup Service for Home Assistant that can Automatically Remove Backups and Supports Generational Backup Schemes.
https://jcwillox.github.io/hass-auto-backup
MIT License
366 stars 27 forks source link

Backup stops after folder exclusion #63

Closed arjen-w closed 2 years ago

arjen-w commented 2 years ago

After upgrading to HA version 2022.7.0 my backups are incomplete. It seems like the job does not include any add-ons when a folder exclusion is configured.

My task config:

service: auto_backup.backup_full
data:
  name: 'DailyBackup: {{ now().strftime(''%A, %B %-d, %Y'') }}'
  keep_days: 2
  exclude:
    folders:
      - share

This always worked fine until the upgrade of HA. A task without the excluded folder is working fine though, but as my share folder contains video recordings that I don't need to be backed-up, I want to exclude that folder.

The supervisor logs does not show any error.

jcwillox commented 2 years ago

Well, I figured it out, this is also related to #62. It turns out it's not a bug I introduced but actually a silent change to the Supervisor API, which removed the installed property from the addons endpoint which now only includes installed addons.

This issue should be fixed in release 1.1.1.

arjen-w commented 2 years ago

It seems solved in 1.1.1 indeed! thank you for the fast actions!