-
Notifications
You must be signed in to change notification settings - Fork 283
Rule ordering (--exclude and --include) in Rsync #2355
Copy link
Copy link
Open
Labels
BugDiscussiondecision or consensus neededdecision or consensus neededExternaldepends on others/upstreamdepends on others/upstreamFeaturerequests a new featurerequests a new featureMeta
Description
This is a meta issue collection issues, ideas and discussions regarding the ordering of rsyncs include and exclude rules.
- Include file inside excluded path will include all files in excluded path #561
- Can't include specific files from excluded wildcard match (rsync: ordering of --exclude/--include) - Workaround exist #1420
There is also a PR
Relevant code locations
backintime/common/snapshots.py
Lines 1797 to 1800 in 88d19d4
| # TODO: fix bug #561: | |
| # after rsync_exclude we need to explicite include files inside excluded | |
| # folders, recursive exclude folder-content again and finally add the | |
| # rest from rsync_include2 |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugDiscussiondecision or consensus neededdecision or consensus neededExternaldepends on others/upstreamdepends on others/upstreamFeaturerequests a new featurerequests a new featureMeta