-
Notifications
You must be signed in to change notification settings - Fork 201
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 option to exclude network file systems #1598
Comments
Dear David, I am not convinced about the advantage of such a feature for the users. Currently it seems to be a special and rare case relevant only for a small amount of users. But let me try. I am not sure If I understood the following sentence correct:
You also mention that the location of the mount point to change from time to time and the the share is not always mounted. I am right so far? |
Yes, exactly that. I have a file system mounted at /home/myhomedir/smb4k/publicshare. I can exclude all sub-directories of smb4k from my backup, if I remember to.
Yes again. In this case, the last time I mounted the directory using mount.cifs and the point point of /home/myhomedir/mnt, but the next time I mounted it I used the smb4k utility which uses a different default mount point directory. Since the mount point changed, and I wasn't paying attention, BIT tried to back it up even though I had excluded the mnt directory. |
I wonder if it would be sufficient to use the Update: I removed the mounted smb directory from my exclude list, and added the I have a workaround at the very least. |
Great. You contributed to the docu with this Issue. ;) But I am not sure if we should add this as an "Expert Option" to the settings dialog. |
But for users who know what they are doing, I think this might be a useful option to present in the "Expert Option". I can see myself using it in certain situations. |
I'm in the process of roughing in the changes needed. I'm a complete newbie when it comes to python (I focus on Java & RPG), but I'll take a swipe at it. TBH, this will be my first contribution to a GitHub hosted project, so I may struggle with the process. |
Dear David, Feel free to ask for help, feedback or testing. You also don't have to be finished to open an PR. Setting a PR to Draft is possible and we can easier see and monitor code changes. Just if you want. |
Unless there's something that needs to be fixed, I think it's done. I've marked the ticket closed. |
I can not decide it yet because we need to review your contribution. It is a regular step in our development process to review each others code. To make this happen we need a PullRequest (PR). Please open such a request.
From the viewpoint of the "official" Back In Time repository (sometimes named "upstream") the problem is not solved yet until the code is merged into the primary Is this OK for you? |
I thought I did create a PR: #1600 |
Ah, yes. Next time you open a PR please add the Issue number in the opening text of that PR. Then a link is established. |
Got it. Thanks. |
I'd like to be able to configure bit to ignore network file systems.
Use case:
In user space, I mounted a smb share on a remote system using a mount point in my home directory. BIT tried to back up that directory because I hadn't excluded it.
Obviously the work around is to exclude the mount point from the backup, but if a share gets mounted on a different directory, my backup's not know to exclude them.
It would be much better to have an option to exclude network file systems in general.
The text was updated successfully, but these errors were encountered: