Re: [Fwd: Apache as a Rsync HTTP proxy]

2005-12-20 Thread Vincent Blondel
John, see below I hope this can help you. > Vincent, > > Thanks for the additional info. "the problem is always happening" is > different from "sometimes" that you used in your original email. > > The idle rsync processes implies that Apache is closing the channel > on its own. So... > >

Re: [Fwd: Apache as a Rsync HTTP proxy]

2005-12-20 Thread John Van Essen
Vincent, Thanks for the additional info. "the problem is always happening" is different from "sometimes" that you used in your original email. The idle rsync processes implies that Apache is closing the channel on its own. So... What is the command that you use to run the rsync client? What e

Re: rsync deleting symbolic link unexpectedly

2005-12-20 Thread Eric Horne
Matt straightened me all out, thanks again. Using -K -L did exactly what I wanted it to do. Now I just need to get it to work with remotes that aren't at 2.6.3 or above (think I'll be upgrading those) :) -Eric Matt McCutchen wrote: On Tue, 2005-12-20 at 13:53 -0800, Eric Horne wrote: Than

Re: rsync deleting symbolic link unexpectedly

2005-12-20 Thread John Van Essen
Eric, --keep-dirlnks was added in version 2.6.3, so it's available in 2.6.6 (but both ends have to be 2.6.3 or later). Here's an online version of the current man page: http://rsync.samba.org/ftp/rsync/rsync.html --keep-dirlinks (-K) is definitely what you need... John On Tue, 20 Dec 2

Re: rsync deleting symbolic link unexpectedly

2005-12-20 Thread Eric Horne
Thanks, Matt for this suggestion. My version (2.6.6) doesn't have a keep-dirlinks option (that sounds like what I want, though). In anycase, I removed the -L, and now the structure does not get created at all. I removed -l also, and that didn't work either. I added only the -L back, and was le

Re: rsync deleting symbolic link unexpectedly

2005-12-20 Thread Matt McCutchen
On Tue, 2005-12-20 at 11:40 -0800, Eric Horne wrote: > rsync -rlptDvzL --stats --include=a/ --include=a/dir/ > --include=a/dir/symlink/ --include=a/dir/symlink/dir2/ > --include=a/dir/symlink/dir2/dir3/ --exclude='**' /export/stuff > remote::stuff Since you gave the -L/--copy-links option, the

rsync deleting symbolic link unexpectedly

2005-12-20 Thread Eric Horne
I'm running 2.6.6 on a red hat EL3 system. using the following command, rsync -rlptDvzL --stats --include=a/ --include=a/dir/ --include=a/dir/symlink/ --include=a/dir/symlink/dir2/ --include=a/dir/symlink/dir2/dir3/ --exclude='**' /export/stuff remote::stuff I expect the "symlink" (which is

configure error

2005-12-20 Thread Yuan, Zhiyong (Exchange)
Hi, I am trying to install rsync on Solaris. While doing ./configure from the downloaded, I got the following error message. configure: Configuring rsync 2.6.6 checking build system type... sparc-sun-solaris2.8 checking host system type... sparc-sun-solaris2.8 checking target system type... spar

Re: rsync with ssh problem please help me

2005-12-20 Thread Wayne Davison
On Tue, Dec 20, 2005 at 01:20:30PM +, gg gg234 wrote: > # ssh-copy-id -i ~/.ssh/id_rsa.pub [EMAIL PROTECTED] ip > 21 > Password: > bash: line 1: .ssh/authorized_keys: Permission denied While this is really an ssh question, I'd assume that you created the file as root instead of "backup"; or th

rsync with ssh problem please help me

2005-12-20 Thread gg gg234
Hi,I am planning to create a backup using rsync with ssh.I am running debian linux for this.I am trying to do the new installation of rsync for this i an trying to create a key and i have logged in as "back" and try to run ssh-keygen -t rsa for creating key and it went well until here after that i

Re: [Fwd: Apache as a Rsync HTTP proxy]

2005-12-20 Thread Vincent Blondel
>> Subject: Apache as a Rsync HTTP proxy >> From:"Vincent Blondel" <[EMAIL PROTECTED]> >> Date:Mon, December 19, 2005 18:46 >> To: users@httpd.apache.org >> >> Hi all, >> >> Recently I had to set-up our external http proxy (apache 1.3.x) >> in such a way that it accepts rsync traffic c

Re: [Fwd: Apache as a Rsync HTTP proxy]

2005-12-20 Thread John Van Essen
> Subject: Apache as a Rsync HTTP proxy > From:"Vincent Blondel" <[EMAIL PROTECTED]> > Date:Mon, December 19, 2005 18:46 > To: users@httpd.apache.org > > Hi all, > > Recently I had to set-up our external http proxy (apache 1.3.x) > in such a way that it accepts rsync traffic coming f

Re: rsync exit 0 before transfer complete

2005-12-20 Thread John Van Essen
On Sat, 17 Dec 2005, Donna Livingstone <[EMAIL PROTECTED]> wrote: > > See below a snippet of the code I am using : > >if [ ! -s $file ] > then ># File does not exist or is non-zero >echo "file $file does not exit or is 0 size" >> $LOGFILE > fi >