<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<p>>http://olstrans.sourceforge.net/release/OLS2000-rsync/OLS2000-rsync.html</p>

<p><snipp><br/>
But the filename twice can happen under other circumstances; if you've seen this happen, it's almost certainly because the file changed during transfer. Rsync does no locking. Which means that: if you are modifying a file while it's being transferred, then probably the checksum will fail and it'll go round again. And if it goes around twice, and it still fails, then it prints a message saying; Error, checksum failed, file changed during transfer? And it's probably a file like a log file that's being constantly updated and so the checksums didn't match because it's never going to be able to get it exact; it means that what you've got on the other end is something which will approximate some snapshot of the file, but because it's not doing any locking, it can't guarantee that it's got a particular snapshot of the file, because you can't have an atomic read of the whole file. <i>[31m, 49s]</i><br/>
<snipp></p>

<div>
<div>nope, this is wrong, there is no message "checksum failed"</div>

<div> </div>

<div>i did some testing - on the system to be backed up i`m writing a file like this:</div>

<div> </div>

<div>"dd if=/dev/urandom of=test.dat"</div>

<div> </div>

<div>on the server where i backup this file i simply get</div>

<div> </div>

<div>
<div>[root@backupvm1 test]# rsync -av root@backupvm2:/btrfspool/test .<br/>
receiving incremental file list<br/>
test/test.dat</div>

<div>sent 113417 bytes  received 82924265 bytes  12775028.00 bytes/sec<br/>
total size is 329252864  speedup is 3.97</div>
</div>

<div> </div>

<div>to be a valuable backup solution, i`d like some networker a`like behaviour which gives "file changed during save"</div>

<div> </div>

<div>i wonder what`s so difficult for rsync to "look" at the timestamp or checksum a second time after transfer and if it changed it should spit out a warning....</div>

<div> </div>

<div>isn`t this something which _could_ be implemented, if somebody is able to do ist ?</div>

<div> </div>

<div>regards</div>

<div>roland</div>

<div> </div>

<div> </div>

<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 01. November 2016 um 00:36 Uhr<br/>
<b>Von:</b> devzero@web.de<br/>
<b>An:</b> rsync@lists.samba.org<br/>
<b>Betreff:</b> rsync show files changed during transfer - how?</div>

<div name="quoted-content">i'm using rsync for backup and, as rsync can detect if files have vanished during transfer, i wonder how rsync can tell which files got modified during transfer (i.e. which are not consistent on the destination side after transfer)<br/>
<br/>
apparently, rsync can't show that information?<br/>
<br/>
wouldn't that be an extremely useful feature if rsync could do another additional mtime or even checksum comparison after each file transfer?<br/>
<br/>
for example emc networker notifies about "changed during save". i'm curious wg rsync doesn't<br/>
<br/>
regards<br/>
roland<br/>
--<br/>
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a> Before posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a></div>
</div>
</div>
</div></div></body></html>