Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File size/count does not exclude excluded patterns #2185

Open
2 tasks done
nicekiwi opened this issue Jan 7, 2025 · 1 comment
Open
2 tasks done

File size/count does not exclude excluded patterns #2185

nicekiwi opened this issue Jan 7, 2025 · 1 comment
Labels
status:idea Proposed feature, discuss if its useful type:enhancement Improvement of an existing function

Comments

@nicekiwi
Copy link

nicekiwi commented Jan 7, 2025

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

  • I tried to reproduce the issue.
  • 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

@m3nu
Copy link
Contributor

m3nu commented Jan 7, 2025

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.

@m3nu m3nu added type:enhancement Improvement of an existing function status:idea Proposed feature, discuss if its useful labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:idea Proposed feature, discuss if its useful type:enhancement Improvement of an existing function
Projects
None yet
Development

No branches or pull requests

2 participants