My Home Asstant Backups just where 2.7 GB now they are under 300MB WHY?

I did clean up my HA a little and removed the mutiple local backups that where on my system and now I only keep one local and keep the majority of them on share drives.

I also changed from purge_keep_days from 180 days to 10 days.

But the confusing part is the amount of space my HA is taking on disk really hasn’t changed.

This dosn’t feel like it makes sense. That the amount of space it is taking for the install hasn’t changed but the backups have gone to a fraction of their size.

Or is it that HA system doesn’t recover unused space when a database shrinks?

Did you manually purge the database (with repack as mentioned below)? Take a look at this to see in detail what your space is being used by.

Purging the database will just remove the data from the database, but it will not rearrange the data that is left in the database, so there will be huge spaces in it now, which contains no data.
Setting the repack option too will make it repack it also.

1 Like

It does, but you need to wait a couple of weeks unless you want to do it manually.

Auto repack occurs automatically every second Sunday after the purge. Source: Recorder - Home Assistant