<?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 options in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358566#M193643</link>
    <description>are my files automatically save to the directory where i want to see them?</description>
    <pubDate>Tue, 17 Aug 2004 02:45:52 GMT</pubDate>
    <dc:creator>alan_131</dc:creator>
    <dc:date>2004-08-17T02:45:52Z</dc:date>
    <item>
      <title>tar options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358563#M193640</link>
      <description>how will i copy my files from a dds tape to my folders in my system(kclass)&lt;BR /&gt;&lt;BR /&gt;is this right?&lt;BR /&gt;tar -cvf /to/1</description>
      <pubDate>Tue, 17 Aug 2004 02:32:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358563#M193640</guid>
      <dc:creator>alan_131</dc:creator>
      <dc:date>2004-08-17T02:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: tar options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358564#M193641</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;go to the directory where you want the &lt;BR /&gt;file &amp;amp; &lt;BR /&gt;#tar -xvf /dev/rmt/0m .&lt;BR /&gt;&lt;BR /&gt;where /dev/rmt/0m = device file of the DDS tape.&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Aug 2004 02:43:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358564#M193641</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-08-17T02:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: tar options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358565#M193642</link>
      <description>Hi,&lt;BR /&gt;# cd &lt;YOUR folder="" on="" kclass=""&gt;&lt;BR /&gt;# tar xvf &lt;DDS tape="" device="" filename=""&gt; &lt;FILENAMES to="" be="" restored=""&gt;&lt;BR /&gt;&lt;BR /&gt;That should work.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;ps. u can get device file name with &lt;BR /&gt;# ioscan -fnC tape &lt;BR /&gt;&lt;/FILENAMES&gt;&lt;/DDS&gt;&lt;/YOUR&gt;</description>
      <pubDate>Tue, 17 Aug 2004 02:44:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358565#M193642</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-08-17T02:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: tar options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358566#M193643</link>
      <description>are my files automatically save to the directory where i want to see them?</description>
      <pubDate>Tue, 17 Aug 2004 02:45:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358566#M193643</guid>
      <dc:creator>alan_131</dc:creator>
      <dc:date>2004-08-17T02:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: tar options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358567#M193644</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;It depends on how you have taken the backup.&lt;BR /&gt;if you have used the path as &lt;BR /&gt;#cd /test&lt;BR /&gt;#tar -cvf /dev/rmt/0m .&lt;BR /&gt;then you have to be in that directory OR&lt;BR /&gt;you have takne this way &lt;BR /&gt;# tar -cvf /dev/rmt/0m /test &lt;BR /&gt;then no you don't have to be in that directory.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Aug 2004 02:49:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358567#M193644</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-08-17T02:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: tar options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358568#M193645</link>
      <description>can i extract all the files w/o specifying any distinct files?</description>
      <pubDate>Tue, 17 Aug 2004 02:49:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358568#M193645</guid>
      <dc:creator>alan_131</dc:creator>
      <dc:date>2004-08-17T02:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: tar options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358569#M193646</link>
      <description>Hi Alan,&lt;BR /&gt;&lt;BR /&gt;if your files are already on the tape and you want to recover them to your system then &lt;BR /&gt;&lt;BR /&gt;go to the FS you want to restore&lt;BR /&gt;&lt;BR /&gt;cd /opt/restore (for example)&lt;BR /&gt;&lt;BR /&gt;and then&lt;BR /&gt;&lt;BR /&gt;tar xfv /dev/rmt/Xm (where X is the device number)&lt;BR /&gt;&lt;BR /&gt;tar cfv is for creating archive&lt;BR /&gt;tar xfv is for extracting archive&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Tue, 17 Aug 2004 02:59:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358569#M193646</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-08-17T02:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: tar options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358570#M193647</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;For your second post : &lt;BR /&gt;&lt;BR /&gt;Yes&lt;BR /&gt;&lt;BR /&gt;But be careful as this will overwrite your existing files&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Aug 2004 03:01:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358570#M193647</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-08-17T03:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: tar options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358571#M193648</link>
      <description>HI Alan&lt;BR /&gt;&lt;BR /&gt;Ques: can i extract all the files w/o specifying any distinct files? &lt;BR /&gt;&lt;BR /&gt;Ans: Yes&lt;BR /&gt;&lt;BR /&gt;# tar xvf /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;where i assume /dev/rmt/0m is your dds tape drive.&lt;BR /&gt;&lt;BR /&gt;This will extract all the file in the tape to the current directory. If the backup is taken with absolute path then they will go into thier respective deriectory automatically. You can verify this by:&lt;BR /&gt;&lt;BR /&gt;# tar tvf /dev/rmt/0m&lt;BR /&gt;This display the content of tape. If the file are displayed begining with /../.. then it is absolute path or if ./../ then it is relative path.&lt;BR /&gt;&lt;BR /&gt;If you want to restore only specific files from the tape then you have specify the filename at the end of the command like:&lt;BR /&gt;&lt;BR /&gt;# tar xvf /dev/rmt/0m file1 file2 file3 ..&lt;BR /&gt;&lt;BR /&gt;This will restore file1,file2,file3,... etc in the current directory.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Aug 2004 03:04:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358571#M193648</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-08-17T03:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: tar options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358572#M193649</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;just to be curious : What was the difference between Shaiks first and my post (0 and 10 points) ?&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Tue, 17 Aug 2004 03:14:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358572#M193649</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-08-17T03:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: tar options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358573#M193650</link>
      <description>If you want to expand the archieved files then use as like,&lt;BR /&gt;&lt;BR /&gt;tar -xvf &lt;TAP drive=""&gt; &lt;BR /&gt;&lt;BR /&gt;It is good to check the all files in the tap drive as,&lt;BR /&gt;&lt;BR /&gt;tar -tv /dev/rmt/0m &lt;BR /&gt;&lt;BR /&gt; It will list out the files in the tape drive.&lt;BR /&gt;&lt;BR /&gt; You can select the files to extract as,&lt;BR /&gt; &lt;BR /&gt;tar -wxvf /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt; It will ask user input to extract / not.&lt;BR /&gt;&lt;BR /&gt;  # tar -wxvf tt.tar&lt;BR /&gt;x rw-r--r--   0/3      5 Aug 17 16:32 2004 tst.txt: y&lt;BR /&gt;x tst.txt, 5 bytes, 1 tape blocks&lt;BR /&gt;x rw-r--r--   0/3      4 Aug 17 16:32 2004 tt.txt: y&lt;BR /&gt;x tt.txt, 4 bytes, 1 tape blocks&lt;BR /&gt;&lt;BR /&gt; It will be used to extract easily and in effective mode.&lt;BR /&gt;&lt;/TAP&gt;</description>
      <pubDate>Tue, 17 Aug 2004 03:19:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-options/m-p/3358573#M193650</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-08-17T03:19:08Z</dc:date>
    </item>
  </channel>
</rss>

