View Single Post
  #4  
Old 07-19-2004, 09:34 PM
stefan stefan is offline
Member
 
Join Date: May 2004
Posts: 24
Quote:
Originally Posted by xing
Replication can be easily done with today's version software.

Let's say, you have /mylsws folder which contain all your lsws binary, config, and php/html files, you can just do this:

Subversion master server : /mylsws

primary webserver : run code update from master on /mylsws every 60 seconds

secondary webserver: run code update from master.....

For svn, just have to run "svn update" every 60 in cron and you have a full backup ready to rock-n-roll. I do this for my cluster slaves so that all them will have up to date code within 60 seconds when I change the code on the cvs server.

Replication of code/files is such a beast I say leave it to the specialty versioning softwares. =)
Thanx, I will try it and report back.
Reply With Quote