DO NOT REPLY [Bug 5263] New: failure to report deleted files with link-dest

samba-bugs at samba.org samba-bugs at samba.org
Fri Feb 15 22:53:17 GMT 2008


https://bugzilla.samba.org/show_bug.cgi?id=5263

           Summary: failure to report deleted files with link-dest
           Product: rsync
           Version: 3.0.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: 14709c93 at mailinator.com
         QAContact: rsync-qa at samba.org


failure to report deleted files with link-dest

# seed the source dir with some small hier
rsync -Haxvi --delete --link-dest=/tmp/0/ /usr/share/me/ /tmp/0/
<outputs copied files, correct>

# now use it as the source for the first daily snapshot
rsync -Haxvi --delete --link-dest=/tmp/0/ /tmp/0/ /tmp/1/
<no output, is correct>

# now use it as the source for the next daily snapshot
rsync -Haxvi --delete --link-dest=/tmp/1/ /tmp/0/ /tmp/2/
<no output, is correct>

# now nuke something from the source and rerun to see if it's picked up
rm 0/acm.me
rsync -Haxvi --delete --link-dest=/tmp/1/ /tmp/0/ /tmp/2/
*deleting acm.me
<this output, is correct>

# now nuke something else from the source and make the next daily snapshot
rm 0/chars.me
rsync -Haxvi --delete --link-dest=/tmp/2/ /tmp/0/ /tmp/3/
<no output, INCORRECT>

It should say: '*deleting chars.me'

It is not reporting deletions, only changes and adds. Thus one has
no idea whether nuking old snapshots is an ok thing to do because
one cannot review a proper list of changes. And running yesterdays
arguments over again the next day just to get a good log is not a
desireable practice. Marked as major because one can and will lose
files and not know it.

help :) 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, or are watching the QA contact.


More information about the rsync mailing list