samba-bugs at samba.org
2011-Jul-19 05:39 UTC
[Bug 8309] New: Protect filter has no affect when in filter file.
https://bugzilla.samba.org/show_bug.cgi?id=8309
Summary: Protect filter has no affect when in filter file.
Product: rsync
Version: 2.6.9
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: dan at dlo.me
QAContact: rsync-qa at samba.org
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
samba-bugs at samba.org
2011-Jul-19 05:41 UTC
[Bug 8309] Protect filter has no affect when in filter file.
https://bugzilla.samba.org/show_bug.cgi?id=8309
--- Comment #1 from Dan <dan at dlo.me> 2011-07-19 05:41:32 UTC ---
Sorry about that, I accidentally pressed enter when creating the issue.
When I specify a "protect" rule on the command line, all works
smoothly. I.e.
rsync --filter "P myfile.db" -POuhimrtyz --delete -n . user at
host:~
But when I specify it in a file (e.g. .rsync-filter):
P myfile.db
rsync -F -POuhimrtyz --delete -n . user at host:~
No success.
Thanks!
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
samba-bugs at samba.org
2011-Aug-01 06:02 UTC
[Bug 8309] Protect filter has no affect when in filter file.
https://bugzilla.samba.org/show_bug.cgi?id=8309
Wayne Davison <wayned at samba.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #2 from Wayne Davison <wayned at samba.org> 2011-08-01
06:02:31 UTC ---
The filter file needs to be on the destination server in order to affect an
incremental delete. If the destination may not have its filter files
up-to-date (and you don't want to do a transfer of just the filter files
first,
before the main content), then use --delete-after.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Maybe Matching Threads
- DO NOT REPLY [Bug 7668] New: Add --omit-symlink-times option, same purpose as --omit-dir-times
- [Bug 14371] New: Combined Exclude & Protect Filter Type
- [Bug 8574] New: Missing option description for --exclude in man page
- [Bug 10857] New: weirdly named files fail remotely
- [Bug 8039] New: rsync won't link unchanged files