On Wed, Jun 15, 2005 at 11:45:20PM +0200, Ari�n Huisken wrote:
> Hi list,
> 
> I have two servers running TSL2.2, both acting as fileserver with samba and
> having a connection to the internet (DSL).
> 
> On both sides there is a dir (samba share) with files, and I want to keep them
> in sync. Files are created, modified and deleted on both sides.
> 
> Is there a simple way of doing this maybe with rsync or something similar?

Yes, rsync is the right tool for this IMO.
It's extremely efficient when run in native daemon mode (not over
SSH). It can do full sync including the deletion of orphan files.
Its weak authentication can be worked around by using appropriate
filtering (iptables). It's still better than running it over SSH
(again IMHO) because the latter requires some kind of root->root
trust relationship to work, something I consider as an absolute no-no.

I can share sample configuration files and a generic, configurable
directory sync shell script that I run from crontab if you're
interested.

Greets,
_Alain_



_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to