Re: [BackupPC-users] busybox tar problem?
2008-08-21 22:10:42
Hi,
Ward... James Ward wrote on 2008-08-19 16:02:16 -0700 [Re: [BackupPC-users]
busybox tar problem?]:
> 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?
yes, much the same as (but more complicated to understand than)
echo '...' >&2
> 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".
That most certainly has nothing to do with the '/', because the ping command
is run long before the tar command line is built. What does
/usr/local/bin/check_ssh contain?
> When I leave it out, I get "No files dumped for share /". What gives?
All of it sounds like intermittent network failures. What did you say about
the network? WLAN with 20 m of concrete between machines? Broken
cable/switch/multiport repeater? Arp poisoning device? When did this problem
start? What piece of hardware (or software) did you change shortly before?
What does a simple 'ping' say (when run for a while)? A flood ping? A command
line rsync (or tar ... "ssh -l backup $host tar cf - / > /dev/null")?
Regards,
Holger
-------------------------------------------------------------------------
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/
|
|
|