Re: [rdiff-backup-users] cron job opens and closes ssh without copying.

2006-06-09 Thread Chris Fanning
After looking into it a little more, it seems I had two problems. 1. Conexion opening and closing without copying data. That appears to be an env variables issue that seems to be fixed wrapping it in a script. 2. Couldn't start up the remote connection by executing ssh -C [EMAIL PROTECTED] On th

Re: [rdiff-backup-users] cron job opens and closes ssh without copying.

2006-06-07 Thread Chris Fanning
Hi, the line wrapping was a bit of a mess... How would you improve on it? but it looks to me like the link died -- is this over a dsl line or something? Yes. There are remote offices all over the country. The company pays telecom for a private frame relay network. It is possible that the n

Re: [rdiff-backup-users] cron job opens and closes ssh without copying.

2006-06-07 Thread dean gaudet
On Wed, 7 Jun 2006, Chris Fanning wrote: > Hi, > > Roland. > (or put backup.sh >/tmp/backup.log in crontab) > /tmp/backup.log empty :( > > Dean, > > do you get any mail from cron? usually you should get some mail with > > stdout/stderr in it... i'm guessing it would help diagnose this... > > H

Re: [rdiff-backup-users] cron job opens and closes ssh without copying.

2006-06-07 Thread Chris Fanning
Hi all, After trying Roland's suggestion to wrap the script I realized that it works when wrapped. 11 12 * * 1,2,3,4,5 /copies/commands/xen1-bcn.home.sync more /copies/commands/xen1-bcn.home.sync #!/bin/sh /usr/bin/rdiff-backup -v 1 [EMAIL PROTECTED]::/home/pas /copies/xen1-bcn/pas But if I ca

Re: [rdiff-backup-users] cron job opens and closes ssh without copying.

2006-06-07 Thread Chris Fanning
Hi, Roland. (or put backup.sh >/tmp/backup.log in crontab) /tmp/backup.log empty :( Dean, do you get any mail from cron? usually you should get some mail with stdout/stderr in it... i'm guessing it would help diagnose this... Here goes.. From root Wed Jun 7 09:32:02 2006 Date: Wed, 7 Ju

Re: [rdiff-backup-users] cron job opens and closes ssh without copying.

2006-06-07 Thread dean gaudet
On Wed, 7 Jun 2006, Chris Fanning wrote: > I've got a problem running rdiff-backup as a cron job. do you get any mail from cron? usually you should get some mail with stdout/stderr in it... i'm guessing it would help diagnose this... -dean ___ rdif

Re: [rdiff-backup-users] cron job opens and closes ssh without copying.

2006-06-07 Thread roland
t;set >/tmp/env.txt" before rdiff-backup command (or put backup.sh >/tmp/backup.log in crontab) regards roland - Original Message - From: "Chris Fanning" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 07, 2006 9:48 AM Subject: [rdiff-backup-users] cron job ope

[rdiff-backup-users] cron job opens and closes ssh without copying.

2006-06-07 Thread Chris Fanning
Hello all, I've got a problem running rdiff-backup as a cron job. I followed these instructions http://rdiff-backup.solutionsfirst.com.au/index.php/UnattendedRdiff Here is my cron tab entry 30 21 * * 1,2,3,4,5 /usr/bin/rdiff-backup -v 9 [EMAIL PROTECTED]::/home/pas /copies/xen1-bcn/pas Here is