<?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 !!! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617776#M377191</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Bill:  If the files have been saved with a leading /, this is called an absolute pathname and you'll have to use chroot to recover the files into a different directory structure.&lt;BR /&gt;&lt;BR /&gt;Or use 'pax'.  See the manpages.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Wed, 14 Apr 2010 19:25:50 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2010-04-14T19:25:50Z</dc:date>
    <item>
      <title>tar !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617773#M377188</link>
      <description>how to use the tar command to restore the specific file to the specified target location&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.....</description>
      <pubDate>Wed, 14 Apr 2010 18:24:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617773#M377188</guid>
      <dc:creator>gany59</dc:creator>
      <dc:date>2010-04-14T18:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: tar !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617774#M377189</link>
      <description>Use the x (extract) qualifier.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90690/tar.1.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90690/tar.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;See the examples in the manpage.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Apr 2010 18:34:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617774#M377189</guid>
      <dc:creator>cnb</dc:creator>
      <dc:date>2010-04-14T18:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: tar !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617775#M377190</link>
      <description>I think there is a more complicated question here. tar on HP-UX does not have a destination override for recovered files and directories. So if the original tar file or tape has / as the first character in the pathname, all the files you select will go right back to the exact same directory. That's why it is recommended to always leave off the first / when making a backup.&lt;BR /&gt; &lt;BR /&gt;Use tar tvf to read the table of contents, at least a portion, so you can see how the files were saved. If the files have been saved with a leading /, this is called an absolute pathname and you'll have to use chroot to recover the files into a different directory structure.</description>
      <pubDate>Wed, 14 Apr 2010 19:19:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617775#M377190</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-04-14T19:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: tar !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617776#M377191</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Bill:  If the files have been saved with a leading /, this is called an absolute pathname and you'll have to use chroot to recover the files into a different directory structure.&lt;BR /&gt;&lt;BR /&gt;Or use 'pax'.  See the manpages.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 14 Apr 2010 19:25:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617776#M377191</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-04-14T19:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: tar !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617777#M377192</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Or use 'pax'. See the manpages.&lt;BR /&gt;&lt;BR /&gt;Or use GNU "tar".&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.gnu.org/software/tar/" target="_blank"&gt;http://www.gnu.org/software/tar/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.gnu.org/software/tar/manual/index.html" target="_blank"&gt;http://www.gnu.org/software/tar/manual/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I think there is a more complicated&lt;BR /&gt;&amp;gt; question here. [...]&lt;BR /&gt;&lt;BR /&gt;There might be one somewhere, but it's not&lt;BR /&gt;here.  As usual, it can be easier to give a&lt;BR /&gt;useful answer when the question contains some&lt;BR /&gt;useful information.</description>
      <pubDate>Wed, 14 Apr 2010 20:21:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617777#M377192</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-04-14T20:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: tar !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617778#M377193</link>
      <description>or use pax. ;)&lt;BR /&gt;&lt;BR /&gt;example.&lt;BR /&gt;&lt;BR /&gt;topaz:/dumps_10/pt_1204197284_chrishu # tar -tvf crash1.tar&lt;BR /&gt;rwxr-xr-x 0/0 0 Jun 8 15:20 2004 /var/adm/crash/crash.1/&lt;BR /&gt;rw-r--r-- 0/0 7300414 Jun 8 15:19 2004 /var/adm/crash/crash.1/vmunix.gz&lt;BR /&gt;[..]&lt;BR /&gt;&lt;BR /&gt;Tar backup is taken with absolute path.&lt;BR /&gt;&lt;BR /&gt;Contents of the tar archive needs to be restored relatively, to the directory /dumps_10/pt_1204197284_chrishu/ . &lt;BR /&gt;&lt;BR /&gt;topaz:/dumps_10/pt_1204197284_chrishu # pax -r -f ./crash1.tar -s!/var/adm/crash/!./!gp -t&lt;BR /&gt;/var/adm/crash/crash.1/ &amp;gt;&amp;gt; ./crash.1/&lt;BR /&gt;/var/adm/crash/crash.1/vmunix.gz &amp;gt;&amp;gt; ./crash.1/vmunix.gz&lt;BR /&gt;/var/adm/crash/crash.1/image.1.1.gz &amp;gt;&amp;gt; ./crash.1/image.1.1.gz&lt;BR /&gt;/var/adm/crash/crash.1/image.1.2.gz &amp;gt;&amp;gt; ./crash.1/image.1.2.gz&lt;BR /&gt;/var/adm/crash/crash.1/image.1.3.gz &amp;gt;&amp;gt; ./crash.1/image.1.3.gz&lt;BR /&gt;/var/adm/crash/crash.1/image.1.4.gz &amp;gt;&amp;gt; ./crash.1/image.1.4.gz&lt;BR /&gt;/var/adm/crash/crash.1/image.1.5.gz &amp;gt;&amp;gt; ./crash.1/image.1.5.gz&lt;BR /&gt;/var/adm/crash/crash.1/image.1.6.gz &amp;gt;&amp;gt; ./crash.1/image.1.6.gz&lt;BR /&gt;/var/adm/crash/crash.1/image.1.7.gz &amp;gt;&amp;gt; ./crash.1/image.1.7.gz&lt;BR /&gt;/var/adm/crash/crash.1/INDEX &amp;gt;&amp;gt; ./crash.1/INDEX&lt;BR /&gt;&lt;BR /&gt;topaz:/dumps_10/pt_1204197284_chrishu # cd crash.1&lt;BR /&gt;&lt;BR /&gt;topaz:/dumps_10/pt_1204197284_chrishu/crash.1 # ll&lt;BR /&gt;total 104808&lt;BR /&gt;-rw-r--r-- 1 root sys 1225 Jun 8 15:20 INDEX&lt;BR /&gt;-rw-r--r-- 1 root sys 1252299 Jun 8 15:19 image.1.1.gz&lt;BR /&gt;-rw-r--r-- 1 root sys 1378576 Jun 8 15:20 image.1.2.gz&lt;BR /&gt;-rw-r--r-- 1 root sys 1438041 Jun 8 15:20 image.1.3.gz&lt;BR /&gt;-rw-r--r-- 1 root sys 1245761 Jun 8 15:20 image.1.4.gz&lt;BR /&gt;-rw-r--r-- 1 root sys 3595650 Jun 8 15:20 image.1.5.gz&lt;BR /&gt;-rw-r--r-- 1 root sys 16923559 Jun 8 15:20 image.1.6.gz&lt;BR /&gt;-rw-r--r-- 1 root sys 20516167 Jun 8 15:20 image.1.7.gz&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But I agree, with the general remark, that most forumusers, asking a question, completely forget vital information, when asking a question, leaving the ones who respond, to guess, at what the real problem is...&lt;BR /&gt;&lt;BR /&gt;To understand a question, normally the following info is needed..&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;Operating System Version --&lt;BR /&gt;Hardware Model --&lt;BR /&gt;&lt;BR /&gt;Problem Description (oneliner) --&lt;BR /&gt;&lt;BR /&gt;Details --&lt;BR /&gt;&lt;HOSTNAME&gt;;osversion;&lt;HARDWARE_MODEL&gt;&lt;BR /&gt;&lt;BR /&gt;storage :&lt;BR /&gt;&lt;BR /&gt;Background question --&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;Chris&lt;/HARDWARE_MODEL&gt;&lt;/HOSTNAME&gt;</description>
      <pubDate>Wed, 14 Apr 2010 21:49:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617778#M377193</guid>
      <dc:creator>chris huys_4</dc:creator>
      <dc:date>2010-04-14T21:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: tar !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617779#M377194</link>
      <description>Gany, as Chris says - to get what you want, you need to give what we need...&lt;BR /&gt;&lt;BR /&gt;Ask a comprehensive question with  crisp details - only then you would get crisp answers...Help Us and ofcourse yourself...&lt;BR /&gt;&lt;BR /&gt;Anyways, a small eg -- &lt;BR /&gt;if you  wanted to copy /etc/lvmtab from the&lt;BR /&gt;tape /dev/rmt/0mn in IA64 using the default tar&lt;BR /&gt;simply - &lt;BR /&gt;&lt;BR /&gt;tar xvf /dev/rmt/0mn etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;Note "/" is absent before etc&lt;BR /&gt;&lt;BR /&gt;It copies to the dir you are in.&lt;BR /&gt;&lt;BR /&gt;You can follow the same syntax as per your need...&lt;BR /&gt;&lt;BR /&gt;And Points pls! :-) It makes us all happier to help&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;SNS&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2010 01:49:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617779#M377194</guid>
      <dc:creator>S.N.S</dc:creator>
      <dc:date>2010-04-15T01:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: tar !!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617780#M377195</link>
      <description>Thanks folks ... really u people helped a lot&lt;BR /&gt;&lt;BR /&gt;I am closing this thread</description>
      <pubDate>Thu, 15 Apr 2010 13:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4617780#M377195</guid>
      <dc:creator>gany59</dc:creator>
      <dc:date>2010-04-15T13:15:58Z</dc:date>
    </item>
  </channel>
</rss>

