Backup failed and storage ran out

I have a problem in home assistant. It’s running on a Raspberry pi 5 with a 512gb SSD. I Installed an Immich server as addon so it is backing up photos and videos so it’s using a lot of space. My problem is I made the mistake doing a full backup in home assistant and apparently it also backs up the Immich postgresql database, which is huge and so the backup failed. This put my home assistant in freeze mode, not knowing what it means I restarted the pi and tried a backup again and same thing happened and I noticed my storage is completely full. I can’t remove the failed backup because it’s not visible on the list. What should I do?