Backup Size very large

Hi

I am running ha as container and I have my database as a maria db running on a seperate machine. Backup config is configured to only backup config. But my backup size is still 182gb.
If i do a size check pf the config directory, I cant find the reason for such a big backup. What else could be the reason for such big backups?

The backup is just a compressed file - open it with your tool of choice and it will show you the size of each folder therein, and each folder corresponds to a container (ie. addon). This should show you the culprit. Also, check if you’re backing up media or shared and if they have data in them.

The idea with the media was good. In mounted my local media/photo folder into the www/photo folder, so it backed up all my photos as well. Thinks that was the problem. Thanks.

Ok now i am getting always an error like the following:
Logger: homeassistant.components.backup
Quelle: components/backup/manager.py:1078
Integration: Backup (Dokumentation, Probleme)
Erstmals aufgetreten: 08:28:25 (2 Vorkommnisse)
Zuletzt protokolliert: 08:37:33

Error creating backup: [Errno 13] Permission denied: ‘/config/.storage/tmp26i_diwo’

If i check the file, i see, that the rights are 0000.
Changing the rights will only result in a new error with a new file with no rights

What are these tmp files for?