https://bugzilla.samba.org/show_bug.cgi?id=2881
wayned@samba.org changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME
------- Additional Comments From wayned@samba.org  2005-07-15 14:20 -------
I assume you don't want to do this:
--exclude=/var
... which would both prevent any copying from /var and prevent any deleting in
var.  If so, do this:
--filter='protect /var'       OR       -f 'P /var'
That tells the receiving side that all files in the /var hierarchy should be
protected from being deleted (assuming that you're transferring from /). 
You
might want to change that to be more specific, though, such as protecting
/var/run and /var/lock, but that's up to you.
Note that the --filter option was added in 2.6.4, so if you're pulling, the
receiving side needs to be at least 2.6.4, and if you're pushing, both sides
need to be at least 2.6.4.
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.