I was able to get my IPCop server backed up with the following config.pl in the hosts' directory:

$Conf{XferMethod} = 'tar';
$Conf{TarClientCmd} = '$sshPath -q -x -n -l root -p 222 $host'
                    . ' /usr/bin/env LC_ALL=C $tarPath -c -v -f - -C $shareName+'
                    . ' --totals';
$Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root -p 222 $host'
                   . ' /usr/bin/env LC_ALL=C $tarPath -x -p --numeric-owner --same-owner'
                   . ' -v -f - -C $shareName+';


HTH!

Steve


On Fri, 2006-07-28 at 10:56 -0500, Les Mikesell wrote:
On Fri, 2006-07-28 at 16:16 +0200, Joachim Sturm wrote:

> Only I fail to backup my IPCop (Linux Firewall) with ssh on port 222
> While testing with "ssh -p 222 [EMAIL PROTECTED]" I connect without any errors.
> 
> While testing with: su backuppc
>     __INSTALLDIR__/bin/BackupPC_dump -v -f hostName
> I get:
> Fatal error (bad version): ssh /usr/bin/rsync: Name or service not known

Does the target login issue a login message or message-of-the-day?
Rsync
expects the output of the remote rsync program to be the first thing
it sees.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to