Gentoo Archives: gentoo-user

From: Roger Mason <rmason@×××××××.ca>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] rsync via ssh
Date: Sun, 04 Nov 2007 18:54:00
Message-Id: y65sl3ln941.fsf@minnie.esd.mun.ca
In Reply to: Re: [gentoo-user] rsync via ssh by Dirk Heinrichs
1 Hi Dirk,
2
3 Dirk Heinrichs <dirk.heinrichs@××××××.de> writes:
4
5 > Am Samstag, 3. November 2007 schrieb Roger Mason:
6 >> Hello,
7 >>
8 >> I'm trying to use rsync to back up my home directory on "mymachine" to
9 >> another machine (backup_machine) using a cron job.
10 >
11 > Which cron?
12
13 vixie-cron
14
15 >> This is the crontab entry (in rmason's crontab):
16 >>
17 >> 0,15,30,45 * * * * rmason /usr/bin/rsync -av /home/rmason
18 >> backup_machine:mymachine_rmason
19 >
20 > Shouldn't this be
21 >
22 > 0,15,30,45 * * * * /usr/bin/rsync -av /home/rmason
23 > backup_machine:mymachine_rmason
24
25 I already tried it without the rmason prepended to the command: no
26 difference. FWIW I tried scp and had the same problems. I think it
27 has to do with the backup_machine not reading my public ssh key, maybe
28 because the session is not interactive.
29
30 Thanks,
31 Roger
32 --
33 gentoo-user@g.o mailing list