[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rsync
Subject:    Re: rsync show files changed during transfer - how?
From:       Kevin Korb <kmk () sanitarium ! net>
Date:       2016-10-31 23:56:55
Message-ID: 130c554a-6a20-a023-f82c-6422f07ae7e9 () sanitarium ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


When rsync tells you that a file vanished it is reporting a real error
from the file system.  It saw a file that needed to be transferred but
when it attempted to read the file it got a file not found error from
the FS/OS.

There is no equivalent error for "hey, the file you were reading changed
while you were reading it".  Rsync would essentially have to read the
file twice and compare.

This is what LVM and similar forms of snapshots are for.

On 10/31/2016 07:36 PM, devzero@web.de wrote:
> 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)
> 
> apparently, rsync can't show that information?
> 
> wouldn't that be an extremely useful feature if rsync could do another
> additional mtime or even checksum comparison after each file transfer?
> 
> for example emc networker notifies about "changed during save". i'm
> curious wg rsync doesn't
> 
> regards
> roland
> -- 
> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
> gesendet.
> 
> 

-- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin@FutureQuest.net  (work)
	Orlando, Florida		kmk@sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,


["signature.asc" (application/pgp-signature)]
[Attachment #8 (text/plain)]

-- 
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic