disconnected synchronization (mostly unidirectional)

Wayne Davison
Mon, 12 Mar 2007 22:26:35 -0000

On Mon, Mar 12, 2007 at 07:31:52PM +0100, Konrad Karl
wrote:
> it just would need the fileinfo of another_local_directory from
> somewhere (database, whatever) in order to generate rsync batch
> files with --whole-files or am I missing something?

Yes, if you want to either code up a fuse filesystem that makes it
appear that there is a hierarchy of files present, that would work
with an unmodified rsync --whole-files using --write-batch (assuming
that you made the fuse filesystem discard the file data and update
the file info).  Other than that, you'd need to dig into the various
stat(), readdir(), etc. functions that the receiving side calls and
direct them to a DB.

..wayne..