Rsync Error..

Naveen Babu freebsdsl at yahoo.com
Mon Apr 26 21:33:42 GMT 2004


In my case rsync -e rsh 66.123.34.123:/etc/services just works fine. I understand that now i dont have to use rsync-path. My whole purpose of using rsync is to backup a directory from source machine to destination machine. In order to accomplish that i gave the command at the source machine:
 
rsync -aznrbe rsh /sourcepath 66.123.34.123:/destinationpath 
 
[[ which logically should work because "rsync -e rsh 66.123.34.123:/etc/services" works fine. ]] . 
But when i use the above command i get the errors i mentioned in my previous emails. I hope you got my problem.
 
 
Thanks,
Naveen.

Tim Conway <conway at us.ibm.com> wrote:
I gave the example, and understood that you'd used it. If instead of "
rsync -e rsh --rsync-path=/usr/local/bin/rsync 66.123.34.123:/etc/services
", you used "rsync -e rsh 66.123.34.123:/etc/services" and it worked, then 
you don't need the --rsync-path= option. If however, the second example 
above fails, and the first one works, that's what you need, and it 
contains the exact correct syntax for your use.
Someone has done some really good work writing and formatting the man 
pages. These give more detail and explain much more precisely than I can. 
You might want to take a quick glance. - for instance, see below:

SunOS 5.8 Last change: 26 Jan 2003 15

User Commands rsync(1)

--rsync-path=PATH
Use this to specify the path to the copy of rsync on
the remote machine. Useful when it's not in your path.
Note that this is the full path to the binary, not just
the directory that the binary is in.



Tim Conway
Unix System Administration
Contractor - IBM Global Services
desk:3032734776
conway at us.ibm.com




Naveen Babu 
04/26/2004 11:41 AM

To
Tim Conway/Denver/Contr/IBM at IBMUS
cc
rsync at lists.samba.org
Subject
Re: Rsync Error..








Tim Conway wrote: 
assuming you replaced "hostwithrsync" with "66.123.34.123", you're in. 
Yes, i replaced it with the ip address.
I have a question about rsync-path option. The command I am giving at the 
source machine is:
rsync -aznrbe rsh /sourcepath 66.123.34.123:/destinationpath 
Could you please tell me how to use "rsync-path" option for the above 
command.
Thanks,
Naveen.

It's fine that your /etc/services is a symlink... the important thing is 
that you can see it with rsync over rsh.
Use the rsync-path option, and enjoy the tool.

Tim Conway
Unix System Administration
Contractor - IBM Global Services
desk:3032734776
conway at us.ibm.com




Naveen Babu 
04/26/2004 09:05 AM

To
Tim Conway/Denver/Contr/IBM at IBMUS
cc
rsync at lists.samba.org
Subject
Re: Rsync Error..






Hello Tim,

Sorry for the late response. I was out of town for weekend. 
Ok, first I tried 
rsync -e rsh --rsync-path=/usr/local/bin/rsync hostwithrsync:/etc/services 



I got the following the output:

-rw-r--r-- 73490 2003/10/27 09.26.50 services

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
lrwxr-xr-x 15 2003/08/19 08:13:58 services
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The file persmiss! ions are different from what you mentioned.






-- 
To unsubscribe or change options: 
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢

--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
		
---------------------------------
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢


More information about the rsync mailing list