Amanda-Users

Re: getting amverify to verify nttar, etc

2003-08-29 15:05:28
Subject: Re: getting amverify to verify nttar, etc
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 29 Aug 2003 14:54:49 -0400
On Fri, Aug 29, 2003 at 01:14:54PM -0400, Kurt Yoder wrote:
> How do I get amverify to verify nttar, gtar, etc? I'm attempting to
> edit the amverify script to contain this:
> 
...
> elif [ X"$TAR" != X"" \
>       -a \(
>       X`basename $2` = X`basename $TAR` \
>       -o X`basename $2` = X"gtar" \
>       -o X`basename $2` = X"gnutar" \
>       -o X`basename $2` = X"nttar" \) ]; then
>       CMD=$TAR
>       ARGS="tf -"
> 
> However, I still receive messages like "(** Cannot do nttar dumps)".
> What am I doing wrong? (In fact, echoing the value of $2 to a file
> right above this code fragment doesn't even work, which is confusing
> me)


Not good news from me, just a rememberance of something similar.

Back when I was first trying a cygwin client I remember getting the
same type of message.  Ok I thought, on the cygwin client it is called
"amgtar" and here it is "gtar" and they are in different locations
even though they were the same version of gnutar.  So I put a link or
a copy of my server's "gtar" in the same location on the server as on
the client and called it "amgtar" just like on the client.

I got the same type of message.  I did not persue it any further to
figure out the cause nor a workaround.

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>