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

List:       rsync
Subject:    Re: Does rsync verify its writes?
From:       Kevin Korb via rsync <rsync () lists ! samba ! org>
Date:       2022-07-12 21:30:08
Message-ID: 7a329ca0-185d-4a8b-2d3f-f3c6d3c1be9a () sanitarium ! net
[Download RAW message or body]

Note that it won't actually tell you that the file was written wrongly 
just that it is different.  In fact, you can only even know that it 
might be detecting a broken file with --itemize-changes and look for 
files with a checksum difference but not a timestamp difference.  Though 
there are legitimate causes for that.

On 7/12/22 17:26, Paul Slootman via rsync wrote:
> On Tue 12 Jul 2022, Kevin Korb via rsync wrote:
> 
>> Rsync does not verify writes.  --checksum doesn't verify anything. Sounds
>> like you want a file verification tool.  The simplest would be md5sum.
> 
> Running rsync --checksum directly after transferring your files will
> verify that the files are written correctly (if the source hasn't
> changed in the meantime). That might help to give some peace of mind.
> 
> 
> Paul
> 
>> On 7/12/22 02:31, Mark Filipak via rsync wrote:
>>> Hello. Does rsync verify its writes?
>>>
>>> Re, 'info rsync'.
>>>
>>> Maybe I just being stupid, but there's no mention of verification in the
>>> 'DESCRIPTION' section, so despite the words in the 'OPTIONS' section,
>>> '-c, --checksum' topic (which I may be misinterpreting), I assume rsync
>>> does not verify except for the checksum directive.
>>>
>>> I admit that I'm paranoid. ;-) ...Please clarify.
>>>
>>> Regards, and Thanks,
>>> Mark Filipak.
>>>
>>
>> -- 
>> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
>> 	Kevin Korb			Phone:    (407) 252-6853
>> 	Systems Administrator		Internet:
>> 	FutureQuest, Inc.		Kevin@FutureQuest.net  (work)
>> 	Orlando, Florida		kmk@sanitarium.net (personal)
>> 	Web page:			https://sanitarium.net/
>> 	PGP public key available on web site.
>> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
>>
>> -- 
>> 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
> 

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

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