>Hmm. Its funny how an idea is completely lucid in my brain and yet gets
>mixed up between brain and keyboard. :)

Tell me about it :-)!

>What I mean by index is something like this:
>
>Position: host: file system
>
>not a complete index of each file available to be restored.  ...

Oh, I see.

Will amtoc do what you want?  It only uses the log.YYYYMMDD.NN files.
Here's a sample:

  #  Server:/partition  date  level  size[Kb]
  0  B00100/acmaint:  20011230  -  -
  1  pythia.cc.purdue.edu:/export/home/b  20011230  1  63
  2  catbert.cc.purdue.edu:/export/home/a  20011230  0  31
  3  ledger.cue.purdue.edu:/var/adm/acmlog  20011230  1  3615
  ...

Or, if they are old tapes that you don't have the log.YYYYMMDD.NN
files for any more and so can't run amtoc against:

  mt rewind
  amrestore $TAPE no-such-host

This scans the tape looking for a client named "no-such-host".  As it
wanders along it reports everything else it sees.  Not as nicely parseable
as your idea, but that's what sed is for :-).

>Sacha Panasuik

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Reply via email to