[Techtalk] Keeping local copy in sync

Kathryn Andersen kat_lists at katspace.com
Sun Nov 14 10:32:26 EST 2004


On Sat, Nov 13, 2004 at 08:29:20PM +0100, Rudy Zijlstra wrote:
> Hello all,
> 
> I am preparing for a configuration where a builing will be connected to 
> the main network by a wireless link. This link will be sensitive to the 
> weather. For this reason i want to keep a local copy of the pertinent 
> data on a local server. This creates a problem though:
> How to keep the master and the local copy in sync? Modifications can be 
> done at both sides and i want the syncing to be done automatically.
> 
> I wonder whether i can do this by 2 consequetive rsync invocations from 
> the remote:
> 
> rsync --update remote  master:
> 
> followed by
> 
> rsync master remote
> 
> Any ideas, suggestions?

Something that's better for keeping two machines in sync IMHO is unison.
That manages to deal with changes from both ends; rsync is better at
a master-slave sort of relation.

I use unison to sync certain directories on my laptop with my desktop.

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe



More information about the Techtalk mailing list