On Mon, 3 Jun 2002, Morse, Richard E. wrote:

> Ulrik Sandberg [mailto:[EMAIL PROTECTED]] wrote:
>
> > How about this:
> >
> >   ... amverify standard > /tmp/amanda/amverify.debug 2>&1
>
> It worked!  Many thanks...

Great.

> >   mt comp off; /usr/local/amanda/sbin/amdump standard &&
> >     ((mt status 2>&1 > /dev/null) &&
> >     (/usr/local/amanda/sbin/amverify standard 2>&1
> >          >/tmp/amanda/amverify.debug)); mt offline

The above was your original command sequence. Don't forget to fix the
other redirect. It should be:

     ((mt status > /dev/null 2>&1) &&
                 ^^^^^^^^^^^^^^^^

I list what I believe is the complete correct sequence here:

   mt comp off; /usr/local/amanda/sbin/amdump standard &&
     ((mt status > /dev/null 2>&1) &&
     (/usr/local/amanda/sbin/amverify standard
          >/tmp/amanda/amverify.debug 2>&1)); mt offline

--
Ulrik Sandberg


Reply via email to