Bug 11489 - --update --size-only ignored when syncing / dump copies everything
Summary: --update --size-only ignored when syncing / dump copies everything
Status: RESOLVED INVALID
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.1
Hardware: x64 All
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-03 08:29 UTC by renegat
Modified: 2015-09-13 23:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description renegat 2015-09-03 08:29:57 UTC
Package: rsync 3.1.1-4
Architecture: x86_64 GNU/Linux

What it isn't doing:
When trying to sync two mounted identical structured folders on two hosts using
 
rsync -vhtru "/path/folder" "user@192.168.000.1:/path/"
works as expected but
rsync -vhtru "/path/folder/" "user@192.168.000.1:/path/folder"
dump copies everything - even with -u and --size-only given!

What it should be doing:
According to man pages

rsync -av /src/foo /dest
and 
rsync -av /src/foo/ /dest/foo

should do the same
Comment 1 Wayne Davison 2015-09-13 23:45:25 UTC
I know of no such bug.  I would suggest that you use the options --dry-run (-n) along with --itemize (-i) to see what is going on in your copying (e.g. if everything is copied as new files due to a path mismatch).  Also, feel free to ask questions on the mailing list if you need assistance.