some thoughts of integrity tests for v 4 ("RsyncCsumCacheVerifyProb")

"Fresel Michal - hi competence e.U." <[email protected]>
Newsgroups gmane.comp.sysutils.backup.backuppc.devel
Message-ID <[email protected]>
hi

i was thinking about the current state of integrity-tests ("RsyncCsumCacheVerifyProb")

on compressed files this means 
# decompress
# create checksum of decompressed
# compare cached checksums

what about:
on first run
# create checksum of compressed file = checksum_compressed_1
# decompress
# create checksum of decompressed
# compare checksums (of cache)
# if checksums (of cache) are the same - recreate checksum of compressed (just in case we had some disk issue meanwile) = checksum_compressed_2
# compare checksum_compressed_1 to checksum_compressed_2
# if the same - save checksum of compressed file for future use

the next run we just need to checksum the compressed file as (the internal cached checksums) were already verified above

results in faster rechecks afterwards:
-) no need to decompress 
-) checksum-calculations on compressed files is faster (less MB's to calculate)

Greetings 
Mike
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
BackupPC-devel mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.