> 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.
Yes, very interested, please post it. Does this also work when files on _both_ sides are created, modified and deleted? -- Ariën Huisken Xilay Software _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
