<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: using tar to list backup date in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-to-list-backup-date/m-p/4847009#M394366</link>
    <description>Closed...</description>
    <pubDate>Thu, 24 Feb 2005 12:41:48 GMT</pubDate>
    <dc:creator>Norman_21</dc:creator>
    <dc:date>2005-02-24T12:41:48Z</dc:date>
    <item>
      <title>using tar to list backup date</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-to-list-backup-date/m-p/4847003#M394360</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;I would appreciate if someone can advise how to extract the last date from a tar backup tape. &lt;BR /&gt;the command&lt;BR /&gt;tar tv &lt;BR /&gt;will list all the files. I don't realy need to see the files but just the date. &lt;BR /&gt;Thanks in advance.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Nov 2002 05:26:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-to-list-backup-date/m-p/4847003#M394360</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2002-11-12T05:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: using tar to list backup date</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-to-list-backup-date/m-p/4847004#M394361</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As 'tar' does not actually create a header from which the backup has been performed (like 'fbackup'), it is not actually possible to get an exact date.&lt;BR /&gt;&lt;BR /&gt;You could however guesstimate by extracting a file list and viewing the contents of /tmp or /var/tmp These two areas do get files written to them all the time.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Michael</description>
      <pubDate>Tue, 12 Nov 2002 05:53:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-to-list-backup-date/m-p/4847004#M394361</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-11-12T05:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: using tar to list backup date</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-to-list-backup-date/m-p/4847005#M394362</link>
      <description>Hi Micheale,&lt;BR /&gt;&lt;BR /&gt;I appreciate your quick support. Could you please provide me with an example.&lt;BR /&gt;This is very important because I mixed up the labels on two tape with the same date and I want to find out which is which.&lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
      <pubDate>Tue, 12 Nov 2002 06:45:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-to-list-backup-date/m-p/4847005#M394362</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2002-11-12T06:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: using tar to list backup date</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-to-list-backup-date/m-p/4847006#M394363</link>
      <description>To get the contents off the tape. Substitute you tape drive device if yours is different to /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;# tar tvf /dev/rmt/0m &amp;gt;/tmp/tape.out&lt;BR /&gt;&lt;BR /&gt;One good example of getting the date and time of a file other than something in /var or /var/tmp is &lt;BR /&gt;/etc/utmp&lt;BR /&gt;/var/adm/wtmp&lt;BR /&gt;/var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;If you can, I suggest you use 'fbackup'. It creates volume headers, it is far more flexible than 'tar' and can write more than 2Gb of data to tape. 'tar' cannot do these things. &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Michael</description>
      <pubDate>Tue, 12 Nov 2002 07:01:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-to-list-backup-date/m-p/4847006#M394363</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-11-12T07:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: using tar to list backup date</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-to-list-backup-date/m-p/4847007#M394364</link>
      <description>tar does not have a header to find out the date directly.&lt;BR /&gt;The only way is to do a tvf of the file you are trying to restore.&lt;BR /&gt;&lt;BR /&gt;as Micheal suggested fbackup has those features&lt;BR /&gt;It uses this &lt;BR /&gt;/var/adm/fbackupfiles/dates&lt;BR /&gt;file to store the date of backup.&lt;BR /&gt;THus incremental backup's are possible using fbackup.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 12 Nov 2002 07:23:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-to-list-backup-date/m-p/4847007#M394364</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-11-12T07:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: using tar to list backup date</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-to-list-backup-date/m-p/4847008#M394365</link>
      <description>&lt;BR /&gt;Go to the directory you want to tar...then "touch a file" and after that create your tar archive of the directoriy...&lt;BR /&gt;&lt;BR /&gt;then you 'll have a file which will tell you the date&lt;BR /&gt;in a script you can do something like this &lt;BR /&gt;&lt;BR /&gt;#Time stamp&lt;BR /&gt;temp="/dir/$(date +%d.%m.%y_%H:%M)"&lt;BR /&gt;touch $temp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Nov 2002 07:58:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-to-list-backup-date/m-p/4847008#M394365</guid>
      <dc:creator>Elif Gius</dc:creator>
      <dc:date>2002-11-12T07:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: using tar to list backup date</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-to-list-backup-date/m-p/4847009#M394366</link>
      <description>Closed...</description>
      <pubDate>Thu, 24 Feb 2005 12:41:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-to-list-backup-date/m-p/4847009#M394366</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2005-02-24T12:41:48Z</dc:date>
    </item>
  </channel>
</rss>

