BackupPC-users

Re: [BackupPC-users] busybox tar problem?

2008-08-19 19:02:30
Subject: Re: [BackupPC-users] busybox tar problem?
From: "Ward... James Ward" <jeward AT torzo DOT com>
To: Craig Barratt <cbarratt AT users.sourceforge DOT net>
Date: Tue, 19 Aug 2008 16:02:16 -0700
Okay, here's more information:

Here's the script I'm running on the BusyBox Arm system:

#!/bin/sh -f
/bin/tar $*
exec 1>&2
echo 'Total bytes written: 1863680 (1.8MiB, 12MiB/s)'

I believe this sends the output of the echo to STDERR?

But here's the problem I'm currently struggling with, here's the config file for this client:

$Conf{TarClientCmd} = '$sshPath -q -x -n -l backup $host /usr/bin/env LC_ALL=C /etc/config/users/backup/tarSend -c -v -f - -C $shareName+';
$Conf{PingCmd} = '/usr/local/bin/check_ssh $host';
$Conf{XferMethod} = "tar";
$Conf{BackupFilesOnly} = '/etc';

When the last line contains a '/', I get "no ping response".  When I leave it out, I get "No files dumped for share /".  What gives?


Ward... James Ward
Linux Sysadmin
(520) 290-0910x268
ICQ: 201663408



On Aug 19, 2008, at 12:41 PM, Craig Barratt wrote:

James writes:

I was writing the bogus line to stdout.  Does it need to go to stderr?

Yes.

Craig

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/