Trouble using RSYNC from a SSH terminal

Antonio J. M. lafuente2000 at teleline.es
Wed Mar 12 02:01:40 EST 2003


Hi,

Try:

rsync -varze ssh --rsync-path=<remote_path_to_rsync>
<user>@<host>:resource /destination

i.e.
rsync -varze ssh --rsync-path=/usr/local/bin/rsync
bob at remote.host.com:/home/bob/  /home/bob/

Regards


-----Mensaje original-----
De: rsync-bounces+lafuente2000=teleline.es at lists.samba.org
[mailto:rsync-bounces+lafuente2000=teleline.es at lists.samba.org] En
nombre de Francisco Álvarez Martínez (Cyberclick)
Enviado el: martes, 11 de marzo de 2003 14:51
Para: rsync at lists.samba.org
Asunto: Trouble using RSYNC from a SSH terminal


Hi,

I'm setting up mirror server using RSYNC, but I couldn't find the
answer... Why is possible to backup to my local Linux machine and why I
couldn't use the same instruction for backing up through SSH?

I explain: from the command line of my linux machine, I write: rsync
-avuzb xxx.xxx.xxx.xxx::resource /home/www and it works properly. When I
try to do the same in another machine (connected through a SSH program),
it doesn't respond. I need to do that, because I am migrating servers
and need that information. Do I do it directly from the destination
server console and no through SSH?

I need a solution, please...

-- 
To unsubscribe or change options:
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read:
http://www.tuxedo.org/~esr/faqs/smart-questions.html



More information about the rsync mailing list