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 the mirror cron log the script runs but on principal's auth log
there was never a session opened (or even requested).

principal_server is a Xen dom0 server. The virtual machines (in my
case) use virtual interfaces that are sitting on a bridge. I think
there was some kind of arp problem between the router and principal
and the router couldn't find principal.
Last night I added some pings to the backup script before calling
rdiff-backup and it worked.
Let's see if this continues to work.

Thankyou.
Chris.


On 6/8/06, Chris Fanning <[EMAIL PROTECTED]> wrote:
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 network has been going down at night.
I can check that out with central office.

Last night the copies didn't work.
Jun  7 21:20:00 Keeper CROND[15308]: (root) CMD
(/copies/commands/xen1-bcn.smb.sync)
Jun  7 21:30:00 Keeper CROND[15318]: (root) CMD
(/copies/commands/xen1-bcn.home.sync)


/copies/commands/xen1-bcn.smb.sync
*****************************
From root  Wed Jun  7 21:23:09 2006
Date: Wed, 7 Jun 2006 21:23:09 +0200
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron <[EMAIL PROTECTED]> /copies/commands/xen1-bcn.smb.sync
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>

ssh: connect to address 192.168.172.130 port 22: Connection timed out
Fatal Error: Truncated header string (problem probably originated remotely)

Couldn't start up the remote connection by executing

    ssh -C [EMAIL PROTECTED] rdiff-backup --server

Remember that, under the default settings, rdiff-backup must be
installed in the PATH on the remote system.  See the man page for more
information on this.  This message may also be displayed if the remote
version of rdiff-backup is quite different from the local version (1.0.4).
**********************************


(/copies/commands/xen1-bcn.home.sync)
**********************************
From root  Wed Jun  7 21:33:09 2006
Date: Wed, 7 Jun 2006 21:33:09 +0200
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron <[EMAIL PROTECTED]> /copies/commands/xen1-bcn.home.sync
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>

ssh: connect to address 192.168.172.130 port 22: Connection timed out
Fatal Error: Truncated header string (problem probably originated remotely)

Couldn't start up the remote connection by executing

    ssh -C [EMAIL PROTECTED] rdiff-backup --server

Remember that, under the default settings, rdiff-backup must be
installed in the PATH on the remote system.  See the man page for more
information on this.  This message may also be displayed if the remote
version of rdiff-backup is quite different from the local version (1.0.4).
**********************************

Chris.

On 6/7/06, dean gaudet <[EMAIL PROTECTED]> wrote:
> 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...
> >
> > Here goes..
>
> the line wrapping was a bit of a mess... but it looks to me like the link
> died -- is this over a dsl line or something?
>
>
> > Mirror is about 12 minutes into the future in respect to primary.
> > That doesn't matter, does it?
>
> shouldn't matter...
>
> -dean
>



--
.''`.     Use Debian
: :' :
`. `'
 `-


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to