Discussion:
how to use --checksum-seed ?
(too old to reply)
CSights
2008-10-13 15:02:18 UTC
Permalink
Hi,
I've been trying to use "--checksum-seed" to speed up backups . I have a
homebrew script which creates incremental backups using hardlinks. To save
disk space I turn on --checksum so that when file's mod-times change rsync
doesn't create a new file (breaking the hardlinking) unless the contents of
the file are different as well.
I tested the command:

#rsync -aHiy -r --delete --ignore-errors --checksum --checksum-seed=1 fromdir
todir

but I couldn't find where the checksums were being cached.

How does one use --checksum-seed ?

Thanks!
C.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Matt McCutchen
2008-10-14 00:27:49 UTC
Permalink
Post by CSights
I've been trying to use "--checksum-seed" to speed up backups . I have a
homebrew script which creates incremental backups using hardlinks. To save
disk space I turn on --checksum so that when file's mod-times change rsync
doesn't create a new file (breaking the hardlinking) unless the contents of
the file are different as well.
#rsync -aHiy -r --delete --ignore-errors --checksum --checksum-seed=1 fromdir
todir
but I couldn't find where the checksums were being cached.
--checksum-seed sets the seed used in the computation of checksums; it
does not cache checksums. For that, look into the checksum-reading.diff
or checksum-xattr.diff patches that come with rsync.

Matt
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
CSights
2008-10-14 15:11:35 UTC
Permalink
Thanks Matt,
You are most helpful.

C.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Continue reading on narkive:
Loading...