Backup Retention not pruning old backups

HA Info:

  • Installation method: Home Assistant OS
  • Core: 2025.12.1
  • Supervisor: 2025.12.2
  • Operating System: 16.3
  • Frontend: 20251203.1
  • Installed as a VM on Proxmox

I’m having an issue where my retained backups are not being pruned according to my settings. I’ve searched the forum and see several other posts about this but none of them seem to contain a resolution relevant to my situation.

My local backups are configured to only keep the last 10 backups.

I have the google drive integration installed to handle offsite backups, with a custom retention of the last 30 days. I have not yet hit my G Drive retention number so I’m unsure if the lack of pruning also applies to non-local backups. Pruning does seem to be working for the add-on backups (which is set to only keep the last 3).

The number of backups showing in the GUI tracks with the number of local backups available on the local disk.

However there should be only 10, not 12. Deleting the backups from the GUI does delete them from the disk so HA seems to be able to manage the backups just fine.

I’ve searched through the Host, Supervisor, & Home Assistant Core logs and don’t see anything related to the automatic backup process, errors or otherwise. Am I looking in the wrong logs? Where does HAOS store logs around the automatic backups?

Is there a way to trigger the retention process to run manually to see if i can get an error or otherwise figure out the issue?

The time period covers 10 days as you specified. You made more than one backup on some days though. If you only want to keep a number of backups instead of time defined purge then do this:

Also do you really need three addon backups?

Reverting to the previous version is all you need and that only takes one backup.

oh jeez, duh lol. I’m embarrassed I completely missed that. That makes sense, those are my pre-update automatic backups.

As for the add-ons, yeah I’m probably being overly cautious, but being able to roll back a couple versions could be handy was my thinking.

1 Like