Some excluded files are not excluded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Back In Time |
Fix Released
|
Undecided
|
Dan |
Bug Description
Hi Dan,
First, thanks for this nice piece of backup software.
I use it for 2 weeks now (yes, not so much !), and it is what I need.
I notice what it seems to be a little bug with excluded files, but I have difficulties to find the cause of this problem.
I added some excluded files and directories since my first snapshot.
Since they are copied with "cp -al", they appear in the new snapshot.
If the file (or directory) is in the saved directory (I have only one directory in the "included saved files" and it is my $HOME), it is properly removed by rsync (so it is excluded), but if this file (or directory) is in a sub-directory, it is not removed : it appears as a hard link.
I wonder why there is a difference between the 2 cases, but anyway, I'm not an expert with rsync.
What I noticed is that the rsync option "--delete-excluded" is not used, so it may be the cause of the problem.
Related branches
- Back In Time Team: Pending requested
-
Diff: 115 lines2 files modifiedCHANGES (+1/-0)
common/snapshots.py (+43/-38)
Changed in backintime: | |
status: | Fix Committed → Fix Released |
In fact I'm wrong about the option "--delete- excluded" , it's used. It is strange that it does (seems) not apply to sub-directory. "saved_ directory/ **" --exclude="*"
I wonder the need for these options (at the end of the command line, just before the source directory) :
--include=