Remove 50 cap on backups

Currently it seems backups are limited to 50, but it would be nice to remove this option and allow a custom(nearly unlimited option to be chosen)

i was disappointed but this limit as well. It seems like its only a frontend issue in frontend/src/panels/config/backup/components/config/ha-backup-config-schedule.ts at 6e90afc5bd24cad856cea5cad0b9ac060cc5bb0d · home-assistant/frontend · GitHub and i changed the value to 500 in /config/.storage/backup and restarted HA. I really don’t get why anyone introduces magic limits without an explanation

Hey,

Well nothing is unlimited on earth :smiley: some options will come later for more storage with probably an extra fee at Nabu Casa :wink: as storage has quite a cost.

Vincèn

Agreed, but it would be nice to not limit for no reason. Like if I have the space why cant I keep backups for a year, or 10 years? I do think there is probably some point where it makes no sense, but 50 seems quite low

With the right backup strategy you only need 21 backups to go back 1 year. After that each year more is just 1 backup extra.

However the backup system must be able to make incremental backups too.

We are limited to one backup on nabu casa anyway, so it has nothing to do with data storage on NC.

2 Likes

actually there is a “unlimited” (all backups) option. The Custom Option is just limited to max 50 in the frontend code

ok, the limit 50 should be reduced to 21 of course and better remove the “all backups” option, just in case someone uses the wrong backup strategy

No, no need to be cynical here.
I just pointed out that that 50 backups doesn’t have to be 50 days max of backups. 50 backups can give you the possiblity to restore up to 30 years back. Any sys admin that is worth their position can tell you that.

ok, please enlighten me how to configure HA Backup in 2025.x to get back 30 years to any day in that period without keeping all. I can only configure to keep 50days or backups and only configure daily or weekly

Please keep in mind there are multiple use cases and strategies, and i wont call be a sys admin

Install Addon Google Drive Backup
Daily, weekly, whatever you like!

This backup schema is there already more then 35 year and date back from the days that using tapes for backups was expensive. So it’s not my idea but here it is.

(Hopefully you can figure this out with this explanation)
Monday : Full backup
Tuesday-Sunday : incremental

Monday : Your previous Monday backup now becomes Week1 Backup. Make a new full backup. Now re-use Tuesday-Sunday
repeat week schema

Backup Week1 to 4
When Week 5 comes then that become Backup Month 1
Now re-use Week 1-4

After 12 Month backups you follow the same pattern into Year backup

:interrobang:
Why?
I can’t fathom why anyone would need to have backups that far in the past.

1 Like

to my knowledge this pattern is impossible to configure in current stock ha. if you depend on addons or hacs like auto backup, this cap is irrelevant.

this feature request is about the current integrated ha solution