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:
For anyone experiencing storage space issues in Home Assistant, the advice above was the only way i was able to delete the files. The hard drive in my Home Assistant Green device filled up and I spent way too much time exploring other advice!
solved my VERY old problem that I was battling with.
I would say when you get connected to the supervisor Docker, you may need to use this command to find which specific folder eats up your disk. In my case, it was espHome/cache (more than 10G !)
du -h -d 1 / | sort -h
where you start from the root, i.e. /, and then drill down. In my case, I ended up here, where I found 10GB of unused cache data, DOH :
du -h -d 1 /data/addons/data/5c53de3b_esphome/cache/platformio/ | sort -h