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

           Summary: --compare-dest hangs
           Product: rsync
           Version: 3.0.7
          Platform: Other
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: way...@samba.org
        ReportedBy: franc...@synways.com
         QAContact: rsync...@samba.org


hi !

First of all congratulation for rsync, which I use as our main backup tool in
our banking company (ACM).

I am trying to also use rsync to deduplicate files.

example:

cd /
cp -a /bin /bin3
rm -v /bin3/z* /bin3/bas*

#now we will use rsync to build a folder with all files from /bin that are
missing or different in /bin3, using --compare-dest

rm -r /bin.tmp -r; rsync --recursive --links --group --owner --devices
--numeric-ids --delete --delete-excluded --one-file-system
--compare-dest="../bin3" --hard-links --perms --times --size-only "/bin/."
"/bin.tmp" -vv --stats | less

#this hangs!


1) on version 2.6.9 it worked more or less: missing files in bin3 were copied
from bin to bin.tmp except 'zcat' because it was a hardlink to 'gunzip', which
is not missing in bin3.

on version 3.0.3 and 3.0.7 it just hangs

2) secondly and unfortunately, removing the --hard-links option is also making
trouble in 3.0.3 and 3.0.7: it does not hang anymore but it sadly copy all
symlinks, even those that are present in bin3.
on 2.6.9, removing --hard-links option was working correctly and copying ONLY
the missing symlinks.

Thank you for your time.



Francois Scheurer
franc...@ac-markets.com
Head of Infratructure
Advanced Currency Markets SA


-- 
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.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
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