Re: How to change using port from 873 to 22

2007-11-15 Thread Paul Slootman
On Wed 14 Nov 2007, ohtsu masahiro wrote: The native rsync protocol over port 873 is currently used in my server. I would like to use not port 873 but port 22). How should I change ? all I have to change is command option? rsync -rp --rsh -- rsync -rp --ssh ??? Have you actually

Problem with rsync recent file logic ?

2007-11-15 Thread Maxim Veksler
Hello, I have 2 servers I'm synchronizing using rsync, I have a situation where I : 1. rsync from rnd-dev2 to rnd-dev1 2. change the rsynched file on rnd-dev1 3. rsync from rnd-dev2 to rnd-dev1 again 4. File gets overridden on rnd-dev1 over though it has newer change time then file on rnd-dev2.

Re: Problem with rsync recent file logic ?

2007-11-15 Thread Olivier Thauvin
Le jeudi 15 novembre 2007, Maxim Veksler a écrit : Hello, I have 2 servers I'm synchronizing using rsync, I have a situation where I : 1. rsync from rnd-dev2 to rnd-dev1 2. change the rsynched file on rnd-dev1 3. rsync from rnd-dev2 to rnd-dev1 again 4. File gets overridden on rnd-dev1

rsync error when sending lot's of small files

2007-11-15 Thread Johan Huysmans
Hi All, I have a problem when transferring files from a rsyncd. This is my setup: * server: runs rsyncd on port 873. * firewall: forwarding for the 873 port from outside (using SNAT and DNAT). * client: manually running rsync command using modules. The problem occurs when lots of small

Re: rsync error when sending lot's of small files

2007-11-15 Thread Fabian Cenedese
At 11:57 15.11.2007 +0100, you wrote: Hi All, I have a problem when transferring files from a rsyncd. This is my setup: What is the error you get? bye Fabi -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read:

Re: rsync error when sending lot's of small files

2007-11-15 Thread Johan Huysmans
whoops forgot to mention the error i receive ;) This message appears on the client side: rsync: writefd_unbuffered failed to write 4092 bytes [generator]: Connection reset by peer (104) rsync error: error in rsync protocol data stream (code 12) at io.c(1122) [generator=2.6.9] rsync error:

--compare-dest not working for me. what am I doing wrong?

2007-11-15 Thread Lucas Meijer
Hey. Can anybody spot my mistake? mkdir a b c echo foo a/test echo foo b/test rsync -av --compare-dest=b a/ c/ Expected results: no copy of a/test to c/test, since it is already present in b. Actual results: a/test gets copied to c/test What is wrong here? My expectation? my syntax? I'm

rsync error?

2007-11-15 Thread Morgan Read
Hi Folks Can anyone help me with the following error - is it serious; is the file transferred; are the other files transferred? [EMAIL PROTECTED] ~]$ rsync -a -X -A -z -v /home/morgan/Documents 192.168.1.30:/home/morgan/Documents [EMAIL PROTECTED]'s password: building file list ... done rsync:

How to make rsync faster?

2007-11-15 Thread Tang, Clayton (Yiqi)
I manage 250+ redhat linux boxes. The boxes are all setup the same way. On a daily basis, we sync the app directory which is about 30gb out to all hosts. The daily delta is actually less than 1gb, but since I can't be sure if any individual box was tempered during the day, I always do a full

Re: --compare-dest not working for me. what am I doing wrong?

2007-11-15 Thread Matt McCutchen
On Thu, 2007-11-15 at 15:41 +0100, Lucas Meijer wrote: Can anybody spot my mistake? mkdir a b c echo foo a/test echo foo b/test rsync -av --compare-dest=b a/ c/ Relative --*-dest paths are interpreted relative to the destination directory (as stated in the man page), so you should use:

Re: rsync error?

2007-11-15 Thread Wesley W. Terpstra
On Nov 15, 2007, at 10:55 AM, Morgan Read wrote: Can anyone help me with the following error - is it serious; is the file transferred; are the other files transferred? The file is transferred as are the other files. However, rsync probably gives a non-zero exit status.

Filenames

2007-11-15 Thread Benjamin Neef
Hello, there are problems syncing files with special charcters in the filename. The special characters in the filename are displayed as a question mark. During synchronization, the rsync tells the file is vanished. Here is the standard output with level 1 verbosity. Higher verbosity levels

Re: How to make rsync faster?

2007-11-15 Thread Maxim Veksler
On Nov 15, 2007 9:08 PM, Tang, Clayton (Yiqi) [EMAIL PROTECTED] wrote: I manage 250+ redhat linux boxes. The boxes are all setup the same way. On a daily basis, we sync the app directory which is about 30gb out to all hosts. The daily delta is actually less than 1gb, but since I can't be sure

Re: 2.6.9 w/ acl, xattr, and fake-super support?

2007-11-15 Thread Wesley W. Terpstra
On Nov 15, 2007, at 3:02 PM, Daniel Maher wrote: As i cannot get 3.0.0pre5 to work in my environment (throwing crazy errors which i've posted previously), i would like to revert to 2.6.9 . Of course, the reason i tried to use v3 in the first place was for the acl, xattr, and fake-super

Re: rsync error?

2007-11-15 Thread Morgan Read
On Thu, 2007-11-15 at 19:37 +0100, Wesley W. Terpstra wrote: On Nov 15, 2007, at 10:55 AM, Morgan Read wrote: Can anyone help me with the following error - is it serious; is the file transferred; are the other files transferred? The file is transferred as are the other files. However,

Re: rsync error?

2007-11-15 Thread Morgan Read
On Thu, 2007-11-15 at 11:31 +0100, Daniel Maher wrote: On Thu, 2007-11-15 at 22:55 +1300, Morgan Read wrote: [EMAIL PROTECTED] ~]$ rsync -a -X -A -z -v /home/morgan/Documents 192.168.1.30:/home/morgan/Documents [EMAIL PROTECTED]'s password: building file list ... done rsync:

Problem with --exclude command

2007-11-15 Thread alex loutrbringa'
Hi everybody, i want to exclude a set of directories of a rsync synchronization but i have a problem : --- serv-dev:~/scripts_Admin# RSYNC_PASSWORD= /usr/bin/rsync -vv --checksum --recursive --links --exclude .svn/ --exclude test/ /var/www/ssl/ [EMAIL

Re: How to make rsync faster?

2007-11-15 Thread Chris (Ducky) Chapin
1) Yes! 2.6.x especially helps with memory. 2) Not that I've seen, but I'd be really interested! 3) We've had great luck with (Open)AFS, though it's not for everyone, not even in our environment. =) (having to load a kernel module being #1 complaint). rsync allows us to accommodate those that

Re: --compare-dest not working for me. what am I doing wrong?

2007-11-15 Thread Lucas Meijer
Hey Matt, Relative --*-dest paths are interpreted relative to the destination directory (as stated in the man page), so you should use: rsync -av --compare-dest=../b a/ c/ tried that too, same result for me: mkdir a b c echo foo a/test echo foo b/test rsync -av --compare-dest=../b a/ c/

RE: How to make rsync faster?

2007-11-15 Thread Craig Hammond
I'm no rsync guru my any means, but two things spring to mind. Use the -t option to stop all the spurious check summing. Split your script into multiple scripts, each with a share of host names. Run each in parallel. Multiple rsyncs can run on the one box concurrently. Craig -Original

Re: --compare-dest not working for me. what am I doing wrong?

2007-11-15 Thread Wayne Davison
On Thu, Nov 15, 2007 at 10:29:58PM +0100, Lucas Meijer wrote: mkdir a b c echo foo a/test echo foo b/test rsync -av --compare-dest=../b a/ c/ The two test files don't match in their preserved attributes. They must either have the same mtime, or you must not ask rsync to preserve times.