Exclude add-on folder from backup, but preserve it on add-on restarts?

Is it possible to exclude a specific folder from backups, but keep the data on my HAOS?

Specifically talking about a media cache. I’m unsure how to bind a data dir to my add-on container, so that dir is not backed up, but is preserved on add-on container restarts.