BackupPC-users

Re: [BackupPC-users] Troubles restoring via SSH Tunnel

2010-10-02 06:31:59
Subject: Re: [BackupPC-users] Troubles restoring via SSH Tunnel
From: Boniforti Flavio <flavio AT piramide DOT ch>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sat, 02 Oct 2010 12:28:57 +0200
Hello Robin...


Il 01.10.10 20.10, "Robin Lee Powell" <rlpowell AT digitalkingdom DOT org> ha
scritto:

> Can we get the complete config for this host?  And any global rsync
> or ssh options?  And the contents of the tunnel script?

Here we go:

Config.pl for the host:
$Conf{DumpPreShareCmd} = '/var/lib/backuppc/tunnel.sh -fC
administrator AT remotehost DOT com -L 8873:127.0.0.1:873 sleep 60';
$Conf{RsyncShareName} = [
  'Exchange',
  'Data',
  'Ufficio',
  'Carlo'
];
$Conf{RsyncdClientPort} = '8873';
$Conf{XferLogLevel} = '5';
$Conf{RestorePreUserCmd} = '/var/lib/backuppc/tunnel.sh -fC
administrator AT remotehost DOT com -L 8873:127.0.0.1:873 sleep 60';

Here the tunnel script:
#!/bin/sh 
ssh $@ 1>/dev/null 2>/dev/null && echo "SSH started successfully."
#ssh $@ 1>/tmp/ssh1.log 2>/tmp/ssh2.log && echo "SSH Tunnel started
successfully."

Where may I have to look for global ssh or rsync arguments?

Thanks so far.

Flavio Boniforti

PIRAMIDE INFORMATICA SAGL
Via Ballerini 21
6600 Locarno
Switzerland
Phone: +41 91 751 68 81
Fax: +41 91 751 69 14
Url: http://www.piramide.ch
E-mail: flavio AT piramide DOT ch--



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/