<?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: Tar file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807338#M83371</link>
    <description>Because sometimes the file maybe missing, using, then it cannot be backup, &lt;BR /&gt;I would like to see what files was successfully backup  to the tape, and whether the backup process was properly run, how can I get the backup result or error code?</description>
    <pubDate>Tue, 17 Sep 2002 01:03:31 GMT</pubDate>
    <dc:creator>O'lnes</dc:creator>
    <dc:date>2002-09-17T01:03:31Z</dc:date>
    <item>
      <title>Tar file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807335#M83368</link>
      <description>I would like to use tar function to backup file, How can I verify whether the file was sucessfully backup to the tape? Thx.</description>
      <pubDate>Tue, 17 Sep 2002 00:32:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807335#M83368</guid>
      <dc:creator>O'lnes</dc:creator>
      <dc:date>2002-09-17T00:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Tar file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807336#M83369</link>
      <description>tar tvf /dev/rmt/&lt;WHATEVER&gt;&lt;BR /&gt;&lt;BR /&gt;will give you a listing of all the filenames on the tape. tar is very primitive so the listing requires reading every record on the tape. If a bad spot is on the tape, then tar will report errno 5, or if a record is the wrong size, tar will complain.&lt;BR /&gt;&lt;BR /&gt;tar is not only primitive but recommended only for casual data exchanges. Today, where 2,000 megs of disk is a trivial file size, tar is fading into the background as a useful program. You'll want to look at a more modern program such as fbackup or for production servers, look at HP's Omniback.&lt;/WHATEVER&gt;</description>
      <pubDate>Tue, 17 Sep 2002 00:44:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807336#M83369</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-09-17T00:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Tar file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807337#M83370</link>
      <description>What kind of verification you want ?&lt;BR /&gt;You can see the conent of the tape by using tar tv.&lt;BR /&gt;Also you can try to restore from tape in tmp space using tar xvf /dev/rmt/0m.</description>
      <pubDate>Tue, 17 Sep 2002 00:44:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807337#M83370</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2002-09-17T00:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Tar file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807338#M83371</link>
      <description>Because sometimes the file maybe missing, using, then it cannot be backup, &lt;BR /&gt;I would like to see what files was successfully backup  to the tape, and whether the backup process was properly run, how can I get the backup result or error code?</description>
      <pubDate>Tue, 17 Sep 2002 01:03:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807338#M83371</guid>
      <dc:creator>O'lnes</dc:creator>
      <dc:date>2002-09-17T01:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Tar file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807339#M83372</link>
      <description>The best method would be to use 'fbackup'/'frecover if you wanted to generate a list of backed up files. 'tar' does not produce this list, but 'fbackup' does prior to the actual backup. This could then be used to validate your backup against what has been placed on the tape.&lt;BR /&gt;&lt;BR /&gt;Generate simple backup of /usr&lt;BR /&gt;# fbackup -i /usr -f /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;To read the table of contents from the tape header&lt;BR /&gt;# frecover -I /tmp/tape_index -f /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;To get the actual files that are on the tape&lt;BR /&gt;# frecover -Nv /tmp/tape_out -f /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;Once the both lists have been produced, a 'diff' of both files can be done.&lt;BR /&gt;&lt;BR /&gt;As mentioned by Bill 'tar' is very primitive.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Michael</description>
      <pubDate>Tue, 17 Sep 2002 02:01:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807339#M83372</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-09-17T02:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Tar file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807340#M83373</link>
      <description>If you still want to use tar then redirect the output to some file then compare it with original&lt;BR /&gt;tar cvf /dev/rmt/0m &amp;gt;/tmp/tar.out 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;It will redirect all std. output and err. to the file tar.ot</description>
      <pubDate>Tue, 17 Sep 2002 02:42:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807340#M83373</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2002-09-17T02:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Tar file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807341#M83374</link>
      <description>Generally reading the tape again using tar tvf will give the necessaary verifcation as the whole of the tape is read for the next available data , however the sure shot method is to do a restore on an empty space using tar xvf&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Tue, 17 Sep 2002 02:43:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807341#M83374</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-09-17T02:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Tar file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807342#M83375</link>
      <description>How to generate a tar backup result log? Where can i see the log? Thx.</description>
      <pubDate>Tue, 17 Sep 2002 03:10:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807342#M83375</guid>
      <dc:creator>O'lnes</dc:creator>
      <dc:date>2002-09-17T03:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Tar file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807343#M83376</link>
      <description>You can see the contents of the entire tape and log the results to a file by doing:&lt;BR /&gt;&lt;BR /&gt;# tar -tvf /dev/rmt/?m 2&amp;gt;&amp;amp;1 &amp;gt; /tmp/tapefile.contents.&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Sep 2002 03:16:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-file/m-p/2807343#M83376</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-09-17T03:16:24Z</dc:date>
    </item>
  </channel>
</rss>

