Disabling "quick check"
kmk at sanitarium.net
Wed Oct 28 02:53:45 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
That is correct. Rsync will re-copy (delta xfer unless --wholefile)
all the files. You can always --dry-run if you aren't sure.
On 10/27/2015 10:07 PM, Clint Olsen wrote:
> I've been using rsync to create backups for a few years. A few
> months ago I started experiencing sector errors. I ended up
> replacing the drive and copying the drive data. It turns out that
> due to the default behavior of rsync "quick check", some of the
> files were modified without altering the modification time or size,
> so these files are still clean in the backup. I would like to
> recover these files, but I need to defeat the quick check in order
> to do this. It looks like using:
> -I, --ignore-times don't skip files that match size and
> will work. I just want to confirm that this covers it. The
> long-form of the switch doesn't mention size, so I was concerned
> this was the right way to accomplish this. If there are any other
> switches that would be useful in the context of potentially corrupt
> files, please feel free to chime in...
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: http://www.sanitarium.net/
PGP public key available on web site.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-----END PGP SIGNATURE-----
More information about the rsync