(Jun 16 2005 14:36) Ariën Huisken wrote:
> > Depends on the setup:
> >
> > If Area1 is to be synced with Area2, it's no point in syncing Area2
> > back to Area1 immediatly after, they will be identical.
> 
> Well, no.

Ahh, true. I did not consider _new_ files, so no, they won't be
identical, and yes, you have timing issues.

Timing issues could be resolved by doing everything from 1 side:

****************************************************

#!/bin/sh
rsync rsync-options localdir/ remotehost:remotedir/
rsync rsync-options remotehost:remotedir/ localdir/
rsync rsync-options localdir/ backuphost:backupdir/

****************************************************

This way we know for a fact that the first rsync is done when the second
starts. Also one could add many fail-checking algorithms to this script
to make sure things are working properly and also send status mails to
people. This script then end up in cron.



c


-- 
Christian H. Toldnes
Trustix Developer
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to