well, when I tell rsync to compare my home directory with itself, it reports many differences. I'm using rsync version 3.0.7 protocol version 30. I was hoping to use it to verify my backup.
> well, when I tell rsync to compare my home directory with itself, it reports many differences. > > I'm using rsync version 3.0.7 protocol version 30. > > I was hoping to use it to verify my backup.What kind of differences are reported. Also are you using the the --check-sum option for verification based upon file check sums of files rather than the modification times? --------------------------------------------------------------------- This email is protected by LBackup, an open source backup solution. http://www.lbackup.org
>What kind of differences are reported.here's a small sample: [I said something like rsync ~ ~] cd+++++++++ /Users/ cd+++++++++ /Users/pen/>f+++++++++ /Users/pen/A >f+++++++++ /Users/pen/B >f+++++++++ /Users/pen/Desktop DB >f+++++++++ /Users/pen/Desktop DF >f+++++++++ /Users/pen/backup_excludes.txt >f+++++++++ /Users/pen/correct >f+++++++++ /Users/pen/doit >f+++++++++ /Users/pen/pen.lisp >f+++++++++ /Users/pen/rsync-new-executable >f+++++++++ /Users/pen/rsync-tiger >f+++++++++ /Users/pen/temp >f+++++++++ /Users/pen/verify-backup >f+++++++++ /Users/pen/zap-DOT >f+++++++++ /Users/pen/zapit> >Also are you using the the --check-sum option for verification based >upon file check sums of files rather than the modification times?Yes, what I'm doing is: ~/rsync-new-executable --dry-run --checksum --recursive --ignore-times --itemize-changes --xattrs -R --exclude-from ~/backup_excludes.txt $* I'm on OS X 10.4.11, but I'm using a current rsync, not the one that was included with OS X. I greatly appreciate the help!
I think an important question is what kind of differences do you need to check with regards integrity of your copy / backup? In addition, I suggest that you actually use rsync to copy the data to a separate directory and then compare two different directories. The reason I suggest this is because it is not clear that you are doing this from your rsync command. The following your rsync commands could be used achieve the results I believe you are trying to achieve? # Make a copy to the /tmp directory : ~/rsync-new-executable --recursive --ignore-times --itemize-changes --xattrs -R --exclude-from ~/backup_excludes.txt /Users/pen /tmp/pen # Check that the copy has completed successfully using checksums and dry run : ~/rsync-new-executable --dry-run --checksum --recursive --ignore-times --itemize-changes --xattrs -R --exclude-from ~/backup_excludes.txt Users/pen /tmp/pen Another possibility is to use a tool which is designed to compare copies / backups on Mac OS X. A great tool which I would highly recommend is backup-bouncer : http://www.n8gray.org/code/backup-bouncer/ If you are just after checksums then another possibility is something like fingerprint or the various other checksumming / tripwire tools (it really depends on the kind of attributes you wish to verify : http://www.lucidsystems.org/tools/fingerprint/ I hope this helps. --------------------------------------------------------------------- This email is protected by LBackup, an open source backup solution. http://www.lbackup.org