[plug] [OT] File Sync for Client

James Devenish devenish at guild.uwa.edu.au
Mon Sep 20 18:57:35 WST 2004


In message <414EB537.9010309 at tigris.org>
on Mon, Sep 20, 2004 at 06:47:19PM +0800, Tim White wrote:
> I can't find the special case that I am looking for though. If I sync
> server1 and client1, then delete a file a client1, then sync server1
> and client1 again, does it copy the deleted file back to the client or
> does it remove the file from server1?

Basically, it first establishes a snapshot of each computers. If you
then make a modification on one of the computers, it calculates "what is
the difference between this computer and its last snapshot?" and tries
to propagate the same difference to the other computer. So, in your
case, it will propagate the deletion from client1 to server1.

PS. Since unison behaves symmetrically, it does not matter which
computer is the client and which is the server: the results will
be identical no matter which way around you do it.





More information about the plug mailing list