File size/count does not exclude excluded patterns
Description
I use vorta to back up my home directory, with a number of exclusions. The total size is about 0.8TB, and about 500GB of that are Steam games, which are on the list of excluded directories.
But the calculated size/file count in Vorta remains 0.8TB despite the exclusions, and the size of the backup once it's run is not over 100GB.
Some of the custom exclusions, for example.
fm:*/vendor
fm:*.rpm
fm:*.deb
fm:*/.var/app
fm:*/.nvm
fm:*/.bun
fm:*/code/flutter_sdk
fm:*/code/android_sdk
fm:*/.zoom
fm:*/.local/share/Steam
fm:*/.local/share/Trash
fm:*/.local/share/JetBrains
fm:*/.local/share/Zeal
fm:*/.local/share/lutris
fm:*/.local/share/zed
To reproduce, copy some .iso files into a directory, then exclude all .iso files in exclusions, and add that directory to Vorta.
Reproduction
- [X] I tried to reproduce the issue.
- [X] I was able to reproduce the issue.
OS
Fedora 41, KDE Spin, Plasma version 6.2.5
Version of Vorta
0.10.3
What did you install Vorta with?
Flatpak
Version of Borg
1.4.0
Logs
No response
It's a valid issue, but solving it will require re-implementing all the exclusion patterns. So I doubt we have the resources. PRs that solve it without adding an unreasonable amount of code would be welcome though.