Does rsync verify its writes?
Kevin Korb
kmk at sanitarium.net
Tue Jul 12 21:30:08 UTC 2022
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 at FutureQuest.net (work)
>> Orlando, Florida kmk at 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 at FutureQuest.net (work)
Orlando, Florida kmk at sanitarium.net (personal)
Web page: https://sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
More information about the rsync
mailing list