Going with the method of elimination, I can exclude the following possible causes:
I’m running Home Assistant Operating System on a 8GB Raspberry Pi 4 and a 32GB SD Card
home assistant database is not local, it’s connected to a NAS
the spikes are caused by automated backups. The massive drop on 20th Oct is caused by changing the local backup amount to 1 instead of 3. It’s interesting that the spikes got smaller, though. Some recursive backupping seems to be going on…
I only keep one backup locally, the rest are uploaded to Google Drive. Some recursive back upping seems to be going on, as the backup spikes are smaller after
The Home Assistant file system doesn’t seem to have any large files or issues. It only takes up 1.1GB:
Darn, I tried so many things that something else might have fixed it. Leaving here so you might look into these as well:
Run ha su repair
Updated HA Core & HA OS
Home Assistant Google Drive Backup stuff:
I checked and I store 1 backup in Home Assistant (the backup weighs 1GB)
I have selected the “Delete Oldest Backup Before Making a New One” option with Delete Backups After Upload, Ignore Other Backups, Ignore “Upgrade” backups unchecked
I checked “Keep Generational Backups”. Probably unrelated, but worth mentioning.
I unchecked “Partial backups”
I did an rm -rf /root/backup/*. This was when the big step-down happened. There was a lot of trash in this folder. I thought maybe it was doing some sort of a recursive backup, where each backup backs up what the previous backup had already backed up (try saying this quickly 3 times in a row )
Anyway, my year’s worth of Disk use chart looks like this now: