1829699 Members
1922 Online
109992 Solutions
New Discussion

tar

 
Prathap_1
Advisor

tar

Hi
Can any body help me in getting the back up performed date from the tape if the backup was taken using tar option.

Thanks
Prathap.
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: tar

The only way I can think of to do this is to just restore a file.

If you know of a file, like a database file, that changes every day, thus having it's date / time stamp updated, then you can restore and check the date.

There is no other way with tar to do this. There is no function to check like there is within fbackup.
Darrell Allen
Honored Contributor

Re: tar

Hi Prathap,

You are out of luck when writing tar to a tape. There is no way to get the date the archive was created from the tape.

However, as Patrick says, if you know of a file that was "touched" on the day you made the backup, you could either extract it or use "tv" on it.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Michael Tully
Honored Contributor

Re: tar

Hi,

'tar' does not place a header of information
on the tape. Only thing you could do is
extract a file off the tape like
/var/adm/syslog/syslog.log to get an
accurate time stamp.

-Michael
Anyone for a Mutiny ?
Jordan Bean
Honored Contributor

Re: tar

Extract the timestamp of a frequently updated file like /etc/utmp.