linux kernel, git, and stateful sync

Wayne Davison wayned at samba.org
Tue Jun 21 22:09:04 GMT 2005


On Tue, Jun 21, 2005 at 02:51:27PM -0400, Wesley Craig wrote:
> The idea is  that each machine keeps a transcript of what it has (or
> had), and  generates a list of changes locally.

If the master server maintained a list of the files that were changed,
the mirroring systems could use the --files-from option of rsync to
fetch just the items that changed (using the change-list on the sender
even when the command is run on the receiver).  For example:

rsync -av --files-from :todays-changes master::kernel/ /dest/

The list "todays-changes" could be incrementally updated throughout the
day without too much inefficiency creeping in, even for folks that
updated more than once in a day.  The list could then be aged to an
older file for use by people who missed yesterday's changes, and really
out-of-sync mirrors could just sync the whole area without the
--files-from option.

..wayne..


More information about the rsync mailing list