Re: Questions about mirror'ing a website

2002-11-23 Thread Colin Watson
On Fri, Nov 22, 2002 at 11:13:30PM -0800, Michelle Storm wrote: > I am just after suggestions on the best and/or most efficient means to > mirror my website (exactly) from one location to another (currently on > same computer, but eventually multiple computers). Consider using version control (CVS

Re: Questions about mirror'ing a website

2002-11-23 Thread Alvin Oga
hi ya michelle - the simple way to transfer files from "working" to the "live" area... - just copy the changes - using cron to transfer is bad because ... a- your change might NOT yet be done at the time that cron runs at midnight to update - deleting the whole web tre

Re: Questions about mirror'ing a website

2002-11-23 Thread sean finney
hiya, i think what you really want is rsync. you can do something like su webuser -c "rsync -avP /workingdir /livedir" (a is for preserve time/ownership/etc, vP is for a verbose status report) i believe that this way rsync will preserve all attributes except for ownership, assuming that your we