Operating System - HP-UX
1837231 Members
2097 Online
110115 Solutions
New Discussion

Finding out archive format of dat tape ??

 
omars
Advisor

Finding out archive format of dat tape ??

Hi ,
I have several dat tapes and it
contains an archive of softwares .

Question is how to find the type of archive ? Is it swinstall,dd,frecover,pax,tar ,cpio ,dump ???

Hope u all can help me .

Thanks.
Nothing is too late to learn
6 REPLIES 6
malay boy
Trusted Contributor

Re: Finding out archive format of dat tape ??

uhm!!this what I normally do (*non* professional way),may be others have more great idea.

I take the tape and test whether the tar,frecover able to read it.

For example:

I will do : tar -tvf /dev/rmt/0mn

if this cannot , it's mean that not backup using tar

next I will do

frecover -x -f /dev/rmt/0mn -I /tmp/index

check whether can read or not.

And goes on for others ....

Simple method ? Other guru's will help you..

still learning,
mB
There are three person in my team-Me ,myself and I.
Michael Tully
Honored Contributor

Re: Finding out archive format of dat tape ??

There is no way to actually tell, although pax can read both cpio and tar created tapes. You can only do with trial and error method. Make sure that the drive your using to read the tape is compatible.
e.g.
a 150M DDS cannot be read on a DDS 3 tape drive, a tape created on a DLT8000 cannot be read on a DLT7000 drive.
Anyone for a Mutiny ?
T G Manikandan
Honored Contributor

Re: Finding out archive format of dat tape ??

H.Merijn Brand (procura
Honored Contributor

Re: Finding out archive format of dat tape ??

Simplest way to get a clue is to do

# dd if=/dev/rmt/0m ibs=204800 of=xx count=1
# file xx

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
omars
Advisor

Re: Finding out archive format of dat tape ??

Hi
after doing
dd if=/dev/rmt/0m of=xx ibs=24... count=1 and then doing
file xx , gives me lif .

Does it mean its a bootable tapes .?
Nothing is too late to learn
H.Merijn Brand (procura
Honored Contributor

Re: Finding out archive format of dat tape ??

yes.

# lifls
USAGE: lifls [-C -l -i -v -L -b BlockList] volname[:filename]

See also lifcp lifinit lifls lifrename lifrm

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn