[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: New GNUstep Mirror
From: |
Manuel Guesdon |
Subject: |
Re[2]: New GNUstep Mirror |
Date: |
Fri, 26 Mar 2004 01:00:10 +0100 (CET) |
Hi,
On Thu, 25 Mar 2004 10:58:44 -0500 Matthew Feinberg <address@hidden> wrote:
>| On Thursday 25 March 2004 10:32 am, Adam Fedor wrote:
>| > > | i just had a look.. it isn't ftpmain anymore ? i rsync'ed against
>| > > | ftp.gnustep.org and it has 3 shares
>| >
>| > pub-ftp1/ <=== base of the anonymous FTP
>| > web1/ <=== it's parent directory of www1
>| > www1/ <=== This is the document root of the web site
>| >
>| > > | which ones are relevant for mirroring now ?
>| >
>| > For the web site: www1
>| > For the FTP site: pub-ftp1
>|
>| Based on what you've said, I tried the following
>| rsync -rtzvp ftp.gnustep.org::www1 [my local folder]
>|
>| but the server just returns
>| rsync: server sent "rsync version 2.5.4 protocol version 26" rather than
>greeting
>| rsync error: error starting client-server protocol (code 5) at main.c(924)
>|
>|
>| I'm running rsync version 2.5.5 with protocol version 26, so I'm not sure
>why I get this.
>| Any thoughts? Any guesses for the right rsync command? Does anybody know
>if I need special permission
>| to rsync the web module?
Our server have a old rsync version :-(
Probably best way is to synchronize from cvs as it is what we do.
Here is the script we use:
#!/bin/sh
export PATH="/usr/kerberos/bin:/bin:/usr/bin:/usr/local/bin"
export HOME="PATH_TO_HOME"
export CVS_RSH="ssh"
LOGFILE=/tmp/update.log
TheDate=`date +%Y%m%d_%H%M%S`
export CVSREAD=1
echo "================= " $TheDate " =====================" >> $LOGFILE
cd PATH_TO_HOME/www
cvs -z3 update -Pd >> $LOGFILE 2>> $LOGFILE
echo "=====================================================" >> $LOGFILE
You need to check out web site into PATH_TO_HOME/www before runing it.
If you have problems, feel free to contact me <address@hidden>
About anon ftp, I have currently no solution but I'll (re-)check this rsync
version problem.
Manuel