Operating System - HP-UX
1834479 Members
3482 Online
110067 Solutions
New Discussion

Re: How to identify date backup dat tape was used

 
SOLVED
Go to solution
Dave Walley
Frequent Advisor

How to identify date backup dat tape was used

Hi.

If I want to find out what date a dat tape was used, I issue the following command

/etc/frecover -f /dev/rmt/0m -I /tmp/fb.index

and check for files that I know will have a date stamp in the name.

Is there any way of finding out the date without having to go to this level.

Dave
why do i do this to myself
3 REPLIES 3
Patrick Wessel
Honored Contributor
Solution

Re: How to identify date backup dat tape was used

generate a file which contains the fbackup header:
frecover -vf /dev/rmt/0m -V /tmp/header

and than take a look into the file:
grep Time /tmp/header
There is no good troubleshooting with bad data
CHRIS_ANORUO
Honored Contributor

Re: How to identify date backup dat tape was used

Use the command: frecover -f /dev/rmt/0m -V-
To do a tape list replace -V- with -I-.

Regards
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Robert Gamble
Respected Contributor

Re: How to identify date backup dat tape was used

Use frecover with the "-V" flag.
The volume header on the current volume is extracted from the backup media and is written to path. The following fields from the header are extracted in the format label:value with one pair per line.

Machine Identification
System Identification
Release Identification
Node Identification
User Identification
Record Size
Time
Media Use
Volume Number
Checkpoint Frequency
Fast Search Mark Frequency
Index Size
Backup Identification Tag
Language

I have used this in the past with with success for the purpose you have asked for.

Good Luck!