Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm most interested in approaches that compare both:

  • the original file
  • the backup

– after the time of backup.

I'm aware of two approaches. Others will be appreciated.


Less interested in approaches that verify integrity of:

  • only the backed up file
  • only the file system used for backed up files
  • only the media used for that file system.
share|improve this question
add comment

3 Answers

n8gray.org: Backup Bouncer

Improvements to Backup Bouncer were noted in March 2012 by Mike Bombich, developer of Carbon Copy Cloner.

share|improve this answer
add comment

rsync dry run with checksumming to include extended attributes, resource forks and ACLs

Basics

From the rsync(1) Mac OS X Manual Page:

  -c, --checksum

This forces the sender to checksum every regular file using a 128-bit MD4 checksum. It does this during the initial file-system scan as it builds the list of all available files. The receiver then checksums its version of each file (if it exists and it has the same size as its sender-side counterpart) in order to decide which files need to be updated: files with either a changed size or a changed checksum are selected for transfer. Since this whole-file checksumming of all files on both sides of the connection occurs in addition to the automatic checksum verifications that occur during a file's transfer, this option can be quite slow.

Note that rsync always verifies that each transferred file was correctly reconstructed on the receiving side by checking its whole-file checksum, but that automatic after-the-transfer verification has nothing to do with this option's before-the-transfer "Does this file need to be updated?" check.

   -E, --extended-attributes

Apple specific option to copy extended attributes, resource forks, and ACLs. Requires at least Mac OS X 10.4 or suitably patched rsync.

   -n, --dry-run

This tells rsync to not do any file transfers, instead it will just report the actions it would have taken.


Considerations

I assume that when options --checksum and --extended-attributes are combined, the checksum includes the attributes.

A 2010 discussion in Bombich Software Support may help to clarify – verify with rsync -- symlink mismatches on Tiger

share|improve this answer
add comment

diglloydTools IntegrityChecker

… validation of your data, including your originals and backups. Even single-bit errors are detected, anywhere in a file, using the cryptographic grade SHA1 hash.

  • Validate the integrity of your files at any time, even backups on CDs or DVDs*!
  • See which files have changed by date or size or contents.
  • Detect file corruption and/or inability to read files (e.g., on DVD or CD*). …

In the ZEVO support forum, IntegrityChecker and the like are discussed under ZFS worth using with non-ECC RAM? Can ARC be disabled?.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.