>I have a really silly question for you.
>How can I check what is actually on the tape ? I mean is there a way to
>list the tape content ?
It depends on what you want to know. If you just want a list of what
images are on the tape (e.g. client and host), Gerhard's script will do
that, or you can do this:
mt -f /dev/whatever rewind
amrestore -p /dev/whatever no-such-host > /dev/null
This searches the tape for client "no-such-host", which it will not find,
but as it does so it will report everything it sees along the way.
Note that Gerhard's script only works if your tape device is uses System
V semantics. If it uses BSD, you'll need to do a little more work on it.
If you want to know more about the tape, or to try to validate it a
little more, you can use amverify.
If you want to actually recover catalogues of all the files in all
the images, there is no easy way to do that at the moment, although a
script could probably be written to do so, probably based on amverify,
which knows the proper dump program to run. Note that you often have
to run the catalogue operation on the client as the host does not have
the right program (for instance, a dump image of an AIX client cannot
be cataloged on a Solaris tape server).
>Olivier Collet
John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]