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

Add feature to hide specific volumes / bind mounts from size calculation #19

Open
zjean opened this issue Jun 5, 2023 · 1 comment
Open

Comments

@zjean
Copy link

zjean commented Jun 5, 2023

I am using a borgmatic container to backup my data to an external hard drive. This hard drive is mounted with a bind mount into the borgmatic container.
I would like to be able to exclude this directory from the doku views, since it gives a false view of the size of the data that is in use.
Are you open for a PR?

I would add an environment variable containing paths that should be excluded, and filter on them in app/bindmounts/size.go

@amerkurev
Copy link
Owner

amerkurev commented Jun 5, 2023

Hello @zjean! Anyone who wants to contribute and make the project better is welcome to submit a PR. Your idea looks interesting and useful! I'd be happy to include it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants