Re: How does rsync file verification work?

2012-02-04 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frankly, rsync -c (--checksum) is almost always an entirely horrible idea. If you absolutely insist on either using rsync to determine what is corrupt or want to ensure that only absolute minimal data is transmitted (--only-write-batch) it is MUCH fas

Re: How does rsync file verification work?

2012-02-04 Thread Jason Haar
On 05/02/12 06:01, Kevin Korb wrote: > Rsync does not verify the data after it is written to the disk. The > whole file checksum is only done to ensure that the file crossed the > network intact. > Actually rsync doesn't checksum by default - if a file has the correct date and size it's assumed t

Re: How does rsync file verification work?

2012-02-04 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rsync does not verify the data after it is written to the disk. The whole file checksum is only done to ensure that the file crossed the network intact. This is not unusual. Backup programs generally don't re-read from the target to confirm a succes

How does rsync file verification work?

2012-02-04 Thread Moqi Ba
Hello, I want to use rsync to create backups. I think I need a verification that: 1) data is written to disk. 2) data is read back from disk. 3) verify the checksum of data. Does the automatic file verification in rsync works like this? Technically, I'd like to know how does we make step 2 read da