rsync usage... and I did RTFM
Dave Dykstra
dwd at bell-labs.com
Thu Feb 7 02:11:24 EST 2002
Sorry, but that advice is wrong. Daniel's using the single colon so his
rsyncd.conf is being ignored. Ross needs JD Paul's patch which hasn't bee
integrated yet:
http://lists.samba.org/pipermail/rsync/2001-December/005488.html
- Dave
On Tue, Feb 05, 2002 at 11:58:55PM -0500, Daniel Ouellet wrote:
> Sure you can. Unless you are looking for a log that I don't know about.
>
> All my server only have ssh and not only the log is written to a file on the
> /var/log/rsyncd.log, but I did set it up to email me a copy of the transfer
> activity.
>
> My crontab have:
>
> 15 * * * * /usr/local/bin/rsync -e
> ssh -auvz --exclude "/*/logs/" --delete youruser at yourserver:/sites/ /sites
> 2>&1 | tee /var/log/rsync.out | mail -s "`/bin/hostname` rsync update" root
>
> I run the server in daemon mode.
>
> The server side is:
>
> log file = /var/log/rsyncd.log
> pid file = /var/run/rsyncd.pid
> lock file = /var/run/rsync.lock
> read only=yes
> uid=nobody
> gid=nobody
>
> And I setup my DSA key on the server to be trusted so that the cron don't
> have to enter the password at every time.
>
> Finally there is two great articles on how to setup the SSH side of it with
> the passphare instead of empty one.
>
> http://www-106.ibm.com/developerworks/library/l-keyc.html
> http://www-106.ibm.com/developerworks/library/l-keyc2/
>
> Hope this help.
>
> Daniel
>
> -----Original Message-----
> From: rsync-admin at lists.samba.org [mailto:rsync-admin at lists.samba.org]On
> Behalf Of Ross Becker
> Sent: Tuesday, February 05, 2002 11:48 AM
> To: 'rsync at lists.samba.org'
> Subject: rsync usage... and I did RTFM
>
>
> Hey folks,
> I've been through the rsync documentation, and to the best of my ability,
> I dont see how to do exactly what I wish to do. I'd go through the mailing
> list archives, but there doesnt seem to be a search function.
>
> Essentially, I need to rsync securely between some sites, but I want logs
> written. The problem is, it appears that using rsyncd is the only way to
> get logs, but if you use rsyncd, there's no way to use ssh for secure
> transfers. Is there any way to both get logs written and use ssh at the same
> time?
>
>
> Thanks
> --Ross Becker
>
More information about the rsync
mailing list