-
-
Notifications
You must be signed in to change notification settings - Fork 743
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
Excluded folders trigger warning because of changes during backup #8471
Comments
There are 2 ways to exclude:
So, that would avoid the problem you are seeing. But I get your point. Will have a look... What is that BTW, |
|
BTW, if you do not use |
Thanks for the tip, didn't know that. Here I don't want this though, I just want to exclude some directories (that do not trigger errors/warnings since excluded). |
Well, then try using |
Thank you for the idea. I found the following solution that actually even better matches my needs - just like you suggested with |
The explanation for that is your automounter: it changes the inode in the moment borg accesses the mountpoint directory name. |
Ok, I understand. Sort of a special case with the automounter in place here. Still a warning for an excluded directory though. |
Have you checked borgbackup docs, FAQ, and open GitHub issues?
Yes, there are many reports but none specifies that the corresponding file was explicitly excluded.
Is this a BUG / ISSUE report or a QUESTION?
This is a BUG report.
System information. For client/server mode post info for both machines.
borg 1.4.0
Operating system (distribution) and version.
Hardware / network configuration, and filesystems used.
How much data is handled by borg?
/etc/backup/system.lst:
Describe the problem you're observing.
When using the above pattern list that explicitly excludes
/mnt
for creating a backup, borg exits with an error because of changed files within a subfolder of/mnt
.Include any warning/errors/backtraces from the system logs
The corresponding folder that generates the error is on the path
/mnt/cifs/Products
whereas the path/mnt
is excluded from the backup. Hence the error is wrong, there is no race condition and files may change therein without affecting the backup.I understand that the filesystem is still searched on
/mnt
as opposed to e.g./proc
- but since the entire folder is excluded from the backup borg must not exit with an error due to files changing therein. This way borgs exit code is useless or counterproductive respectively.The text was updated successfully, but these errors were encountered: