My NUC with HAOS on bare metal has 18.9 GB, so it must be counting other things to the system. I do hve my database in a Mariadb addon, so the recorder database might explain the difference. Although I must admit I would not expect that to be counted as system.
As a note to others investigating a large backup (not bragging about size but 18.9GB here!).
I found .git/objects/pack was 18GB. An automation pushing github backups of “/config” was growing over years of tinkering, storing every commit ever made. Additional issues with .gitignore and some clumsy git usage adds up. Oops.
In my case, old branch movements and dangling commits were neither intentional nor valuable.
another thing that took up a lot of space in my install were ESPhome build files, some of those are required, but there were lot of unused things so using that CLEAN ALL FILES button in ESPhome helped a lot (it will redownload only required things next time you compile update for your devices)
another thing were old docker images docker image list
to clean them up you can use docker image prune… it only removes images of apps that are no longer used, but leaves old versions of used apps
to remove old versions of used apps run docker image prune --all (it removes all unused images, containers, networks)
I have the same problem. ESPhome CLEAN ALL FILES saved arround 2%
But where can I enter the docker image list or docker image prune command?
I tried in terminal but it says
bash: docker: commmand not found
By my maths, that’s ~8.6GB worth… which matches what is showing on my first server for “System”.
I’m not sure if there’s anything to prune here though? I currently have Music Assistant disabled, along with Samba disabled, but I don’t want those deleted accidentally in a prune, so not sure if it’s safe to try.
If there is a bunch of unused old container images, there definitely needs to be some focus on HA cleaning up after itself.