<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
yes, but it uses rsyn client and not rsync server (for a rsync server,
one more time the -e paramter doesn't work...)<br>
<br>
Thom Paine a écrit :
<blockquote
cite="mid9e1340d20511141151q18016330hfced25180aa5262e@mail.gmail.com"
type="cite"><br>
<br>
<div><span class="gmail_quote">On 11/14/05, <b
class="gmail_sendername">Luc MAIGNAN</b> <<a
href="mailto:luc.maignan@winxpert.com">luc.maignan@winxpert.com</a>>
wrote:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
is there a simple way (without creating a tunnel) to parameter a ssh<br>
transport beetween a rsync client and a rsync server ? (while running
<br>
as a daemon, rsync doesn't seem to accept the "-e ssh" option).<br>
<br>
Any help would be appreciated<br>
<br>
Best regards</blockquote>
<div> </div>
<div> </div>
<div>I use this script.</div>
<div> </div>
<div>
<p>#!/bin/bash<br>
#Rsync Backup Script</p>
<p>RSYNC=/usr/bin/rsync<br>
SSH=/usr/bin/ssh<br>
RHOST=<a href="http://0.0.0.0">0.0.0.0</a><br>
RPATH=/home/workgroup/rsync/stuff<br>
LPATH=/home/workgroup/rsync/stuff</p>
<p>#Delete old notes.<br>
rm -f /root/rsync.backup.script.text</p>
<p>echo `date` > /root/rsync.backup.script.text</p>
<p>$RSYNC -azrv --delete -e $SSH $LPATH $RHOST:$RPATH >>
/root/rsync.backup.script.text</p>
<p>echo `date` >> /root/rsync.backup.script.text</p>
<p>mail -s "Office Work Sync Report" <a href="mailto:your@email.com">your@email.com</a>
< /root/rsync.backup.script.text</p>
<p>rm -f /root/rsync.backup.script.text<br>
</p>
</div>
<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">--
<br>
-=/>Thom </blockquote>
</div>
</blockquote>
</body>
</html>