I again ran into a full backup storage and as my „backup backup solution“ (backup HA vm in proxmox) also failed unrecognized for quite a while and I recently destroyed my instance I just lost data and configurations of multiple weeks
Is there any known possibility or workaround for creating a backup retention policy in Home Assistant for example via an automation?
I imagine something like keeping the last two weeks of backups + 1 of each month for the last 12 months.
I only found this feature request from 2022 which doesn‘t seem to be very popular though:
The samba backup add-on backs up to another device, retaining the last x backups on HA. I backup to my NAS and keep them all, with only the last 10 on HA itself.
Yes, this would be my solution too. I do the same, I keep 1 original and 10 days of backups. But the deleting the backups are manual. I’m sure I can write a script for my NAS to delete older backups.
Thanks guys for the replies, indeed I already used to use this addon too but seem to have missed the retention functionality. I will have a try and report again!
Now that we have the option to save HA backups to an SMB share, the only feature missing from HA is the backup retention, compared to Samba Backup. Anybody got solutions for that?