Operating System - HP-UX
1826567 Members
3711 Online
109695 Solutions
New Discussion

Getting the Tape Create date

 
Prathap_1
Advisor

Getting the Tape Create date

Hi
Can any body throw some light on how to get the tape created date, i mean how to get the date from tape that the backup has performed.

Thanks
Prathap.
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: Getting the Tape Create date

Hi:

If the backup was done with 'fbackup' then you can use 'frecover -V ...' to extract the volume header information from the tape, thereby giving the backup date. Have a look at the man pages (1M) for 'frecover'.

Regards!

...JRF...
Patrick Wallek
Honored Contributor

Re: Getting the Tape Create date

I'm not sure if there is a way with any of the various tape utilities. But the first thing we REALLY need to know is how was the backup tape created?

Was it via tar, cpio, fbackup, pax, omniback.....?
harry d brown jr
Honored Contributor

Re: Getting the Tape Create date

Prathap,

It depends on the type of backup.

live free or die
harry
Live Free or Die
harry d brown jr
Honored Contributor

Re: Getting the Tape Create date

If it's any kind of tape, and you backed up /tmp, then the restore option of that command that can list just the files backed up without restoring them will give you a good idea of when the backup was created, unless of course you don't have a lot of activity on /tmp.

for tar:

tar -tvf | grep /tmp|more

live free or die
harry
Live Free or Die