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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


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.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to