From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IoQIc-0003pR-TH for garchives@archives.gentoo.org; Sat, 03 Nov 2007 21:12:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id lA3LBapR030693; Sat, 3 Nov 2007 21:11:36 GMT Received: from web83109.mail.mud.yahoo.com (web83109.mail.mud.yahoo.com [216.252.101.38]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id lA3L6H9D023777 for ; Sat, 3 Nov 2007 21:06:17 GMT Received: (qmail 43941 invoked by uid 60001); 3 Nov 2007 21:06:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=pacbell.net; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=DYv4P+FIdaFV9Pnqqi5/EZupXOx3F6J0MfxLIjUzohV7YQg/ZIXVEvHNmLYskDSBk6b5RPxyU4JOgdfnOGCcrNaMX579lgAVukQpUHqCmkt1tyY+h7Zc14I2HOF3tR/CDQFM1LPDf+V32DquRKCtyF7nOQJrqRworCLKqO4xCY8=; X-YMail-OSG: 1fPW6hIVM1lbhyPYKPEW3nUsFZ8r_19aEcMzXILenDgxDNDN Received: from [76.208.129.11] by web83109.mail.mud.yahoo.com via HTTP; Sat, 03 Nov 2007 14:06:16 PDT Date: Sat, 3 Nov 2007 14:06:16 -0700 (PDT) From: Richard Ruth Subject: RE: [gentoo-user] rsync via ssh To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-346764796-1194123976=:43504" Content-Transfer-Encoding: 8bit Message-ID: <589486.43504.qm@web83109.mail.mud.yahoo.com> X-Archives-Salt: 0beba21e-0a0b-4309-96b6-3f9ea246a363 X-Archives-Hash: 6ac2bad498b2f4d7ad605a2f648893bf --0-346764796-1194123976=:43504 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Try adding "-e ssh" to your rsync command. Search for "-e" in the rsync man page for an example. ======================= This is the crontab entry (in rmason's crontab): 0,15,30,45 * * * * rmason /usr/bin/rsync -av /home/rmason backup_machine:mymachine_rmason I have passwordless ssh between mymachine and backup_machine and the rsync command in the crontab runs perfectly from the command line. Does someone know what else needs to be done to get this (seemingly simple!) task to work? --0-346764796-1194123976=:43504 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Try adding "-e ssh" to your rsync command.
Search for "-e" in the rsync man page for an example.


=======================

This is the crontab entry (in rmason's crontab):

0,15,30,45 * * * * rmason /usr/bin/rsync -av /home/rmason backup_machine:mymachine_rmason
I have passwordless ssh between mymachine and backup_machine and the
rsync command in the crontab runs perfectly from the command line.

Does someone know what else needs to be done to get this (seemingly
simple!) task to work?
--0-346764796-1194123976=:43504-- -- gentoo-user@gentoo.org mailing list