<?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: restoring tar backup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132358#M316367</link>
    <description>hi ;&lt;BR /&gt;&lt;BR /&gt;assuming tar file is in the tape ( /dev/rmt/omn ) &lt;BR /&gt;&lt;BR /&gt;tar xvf /dev/rmt/0mn /path_of_the file &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;eg. you want to restore /tmp/myfile on the tape &lt;BR /&gt;&lt;BR /&gt;then &lt;BR /&gt;tar xvf /dev/rmt/omn/ /tmp/myfile,&lt;BR /&gt;&lt;BR /&gt;you can look at tape archive list by &lt;BR /&gt;&lt;BR /&gt;tar tvf /dev/rmt/omn&lt;BR /&gt;&lt;BR /&gt;Hasan</description>
    <pubDate>Sun, 20 Jan 2008 12:22:47 GMT</pubDate>
    <dc:creator>Hasan  Atasoy</dc:creator>
    <dc:date>2008-01-20T12:22:47Z</dc:date>
    <item>
      <title>restoring tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132357#M316366</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;   I have a tar backup in tape. I want exclude some files and directories while restoring the tar  backup. I cannot find a command for the same in the net. Expecting some gud solution from you people. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sajith</description>
      <pubDate>Sun, 20 Jan 2008 12:02:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132357#M316366</guid>
      <dc:creator>Sajith P V</dc:creator>
      <dc:date>2008-01-20T12:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: restoring tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132358#M316367</link>
      <description>hi ;&lt;BR /&gt;&lt;BR /&gt;assuming tar file is in the tape ( /dev/rmt/omn ) &lt;BR /&gt;&lt;BR /&gt;tar xvf /dev/rmt/0mn /path_of_the file &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;eg. you want to restore /tmp/myfile on the tape &lt;BR /&gt;&lt;BR /&gt;then &lt;BR /&gt;tar xvf /dev/rmt/omn/ /tmp/myfile,&lt;BR /&gt;&lt;BR /&gt;you can look at tape archive list by &lt;BR /&gt;&lt;BR /&gt;tar tvf /dev/rmt/omn&lt;BR /&gt;&lt;BR /&gt;Hasan</description>
      <pubDate>Sun, 20 Jan 2008 12:22:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132358#M316367</guid>
      <dc:creator>Hasan  Atasoy</dc:creator>
      <dc:date>2008-01-20T12:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: restoring tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132359#M316368</link>
      <description>There really isn't any good way to exclude things with tar(1).  You can include complete directory trees and try to skip the ones you don't want.&lt;BR /&gt;You could also list all of the files you want to restore by using "tv" as Hasan mentioned.&lt;BR /&gt;&lt;BR /&gt;You could also use pax(1) to read your tarfile.  It has a -c option to exclude patterns.</description>
      <pubDate>Sun, 20 Jan 2008 13:12:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132359#M316368</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-20T13:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: restoring tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132360#M316369</link>
      <description>&amp;gt; I cannot find a command for the same in the&lt;BR /&gt;&amp;gt; net.&lt;BR /&gt;&lt;BR /&gt;"man tar" would be my first resource.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; You could also use pax(1) [...]&lt;BR /&gt;&lt;BR /&gt;Or GNU "tar":&lt;BR /&gt;&lt;BR /&gt;[...]&lt;BR /&gt;--exclude=pattern&lt;BR /&gt;--exclude-from=file&lt;BR /&gt;[...]&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/" target="_blank"&gt;http://www.gnu.org/software/tar/manual/&lt;/A&gt;</description>
      <pubDate>Sun, 20 Jan 2008 19:44:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132360#M316369</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-01-20T19:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: restoring tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132361#M316370</link>
      <description>Can any one tell me the syntax of pax command to exclude the file while restoring?.....&lt;BR /&gt;&lt;BR /&gt;Sajith</description>
      <pubDate>Mon, 21 Jan 2008 13:07:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132361#M316370</guid>
      <dc:creator>Sajith P V</dc:creator>
      <dc:date>2008-01-21T13:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: restoring tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132362#M316371</link>
      <description>Here is pax(1) for 11.31:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60130/pax.1.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60130/pax.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You need:&lt;BR /&gt;$ pax -r -f /dev/rmt/0mn -c pattern ...&lt;BR /&gt;&lt;BR /&gt;You can leave out the "-r" (for read) to see if your exclude patterns are correct.</description>
      <pubDate>Tue, 22 Jan 2008 01:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132362#M316371</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-22T01:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: restoring tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132363#M316372</link>
      <description>Hi Sajith,&lt;BR /&gt;&lt;BR /&gt;you could perhaps use the -w option for tar, e.g.:&lt;BR /&gt;# tar -xvwf /dev/whatever/..&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John K.</description>
      <pubDate>Tue, 22 Jan 2008 08:57:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132363#M316372</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2008-01-22T08:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: restoring tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132364#M316373</link>
      <description>&amp;gt;John: you could perhaps use the -w option for tar&lt;BR /&gt;&lt;BR /&gt;That might work.  But you may have to have a file with the appropriate number "y" and "n" to match which file is being restored.  And would tar read from stdin?</description>
      <pubDate>Tue, 22 Jan 2008 10:58:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132364#M316373</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-22T10:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: restoring tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132365#M316374</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;the -w option on the command line causes tar to prompt the user for each file in the archive. &lt;BR /&gt;(although I would have expected an -i option for something like that)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John K.</description>
      <pubDate>Tue, 22 Jan 2008 12:28:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132365#M316374</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2008-01-22T12:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: restoring tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132366#M316375</link>
      <description>hi,&lt;BR /&gt;  my tar backup contains a lot of files and directories. I don't think it is possible to type n and y for these much files..&lt;BR /&gt;&lt;BR /&gt;Sajith</description>
      <pubDate>Thu, 24 Jan 2008 10:14:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132366#M316375</guid>
      <dc:creator>Sajith P V</dc:creator>
      <dc:date>2008-01-24T10:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: restoring tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132367#M316376</link>
      <description>&amp;gt; [...] I don't think it is possible to type&lt;BR /&gt;&amp;gt; n and y for these much files..&lt;BR /&gt;&lt;BR /&gt;Any problems with the "pax" or GNU "tar"&lt;BR /&gt;suggestions?</description>
      <pubDate>Thu, 24 Jan 2008 14:46:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restoring-tar-backup/m-p/4132367#M316376</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-01-24T14:46:38Z</dc:date>
    </item>
  </channel>
</rss>

