Re: [Bug 15254] New: rsync performs full replication with option -I since last upgrade to version 3.2.3 protocol version 31

"Francis.Montagnac--- via rsync" <[email protected]>
Newsgroups gmane.network.rsync.general
Message-ID <515874.1669534743@kermit>
Hi.

On Sat, 26 Nov 2022 21:24:45 +0000 just subscribed for rsync-qa from bugzilla via rsync wrote:

> I can replicate the issue in a simple test scenario /tmp/source to /tmp/dest
> via

> rsync -rauvxHI --delete --stats --log-file=/tmp/rsync.log \
>   /tmp/source/ /tmp/dest/

> Performs a full replication every time the command is being launched

If you add verbosity (ex: -vvv) you will see:

  delta-transmission disabled for local transfer or --whole-file

and thus full replication.

But you are right, even with adding --no-whole-file or using SSH produces a
full replication with -I


rsync -i -rauxHI --no-whole-file --delete --stats --log-file=/tmp/rsync.log /tmp/source/ /tmp/dest/  -n
>f......... foo

Number of files: 2 (reg: 1, dir: 1)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 1
Total file size: 4 bytes
<snip>

rsync -i -rauxHI --delete --stats --log-file=/tmp/rsync.log /tmp/source/ localhost:/tmp/dest/  -n
<f......... foo

Number of files: 2 (reg: 1, dir: 1)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 1
<snip>

rsync -i -rauxH --delete --stats --log-file=/tmp/rsync.log /tmp/source/ localhost:/tmp/dest/  -n

Number of files: 2 (reg: 1, dir: 1)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 0
<snip>

PS: the -a option implies -r: you can thus suppress -r

-- 
francis

-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.