<?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 Tar command queries in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-queries/m-p/3395035#M862453</link>
    <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;  I have some queries involving tar command..&lt;BR /&gt;&lt;BR /&gt;1. if I have very big file that cannot be contained in just one tape can I tar them into multiple tape drives?&lt;BR /&gt;&lt;BR /&gt;2. I bee trying but keep failing.. How can I extract a specific file or directory from a archived tape.. is it possible in the first place?&lt;BR /&gt;&lt;BR /&gt;Thank you all for your kind advise!!</description>
    <pubDate>Wed, 06 Oct 2004 21:14:32 GMT</pubDate>
    <dc:creator>Henry Chua</dc:creator>
    <dc:date>2004-10-06T21:14:32Z</dc:date>
    <item>
      <title>Tar command queries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-queries/m-p/3395035#M862453</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;  I have some queries involving tar command..&lt;BR /&gt;&lt;BR /&gt;1. if I have very big file that cannot be contained in just one tape can I tar them into multiple tape drives?&lt;BR /&gt;&lt;BR /&gt;2. I bee trying but keep failing.. How can I extract a specific file or directory from a archived tape.. is it possible in the first place?&lt;BR /&gt;&lt;BR /&gt;Thank you all for your kind advise!!</description>
      <pubDate>Wed, 06 Oct 2004 21:14:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-queries/m-p/3395035#M862453</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2004-10-06T21:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Tar command queries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-queries/m-p/3395036#M862454</link>
      <description>2) Yes tar can extract a specific file or directory&lt;BR /&gt;&lt;BR /&gt;tar xvf /dev/rmt/1mnb /usr/mydir &lt;BR /&gt;&lt;BR /&gt;will extract /usr/mydir and all subdirectories; if a file is specified just that file will be extracted. &lt;BR /&gt;&lt;BR /&gt;I suspect that you are having problems with the filenames. Do a tar vtf /dev/rmt/1mnb first to list the files so that you can see the pathnames.&lt;BR /&gt;------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Tar really doesn't span tapes on its own. You can use cpio which does or better still if this is HP-UX to HP-UX use fbackup/frecover. Even the Gnu version of tar and cpio have an 8GB filesize limit so that if you need to backup and restore files larger than this then fbackup is your only "free" option but it is HP-UX specific. &lt;BR /&gt;&lt;BR /&gt;Your other option is to use split to divide the files and back them up in chunks; you can cat them together for the restore.&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Oct 2004 21:26:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-queries/m-p/3395036#M862454</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-10-06T21:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Tar command queries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-queries/m-p/3395037#M862455</link>
      <description>Hi Stephenson,&lt;BR /&gt;&lt;BR /&gt;  Thank you for your kind notes.. &lt;BR /&gt;but can u advise me on what is the correct way I should used to span a big files into multiple disks using cpio?</description>
      <pubDate>Wed, 06 Oct 2004 22:34:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-queries/m-p/3395037#M862455</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2004-10-06T22:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Tar command queries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-queries/m-p/3395038#M862456</link>
      <description>Just use cpio like&lt;BR /&gt;#cd dir&lt;BR /&gt;#find . | cpio -ocB &amp;gt;/dev/rmt/??</description>
      <pubDate>Wed, 06 Oct 2004 23:22:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-queries/m-p/3395038#M862456</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-10-06T23:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Tar command queries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-queries/m-p/3395039#M862457</link>
      <description>Thanks TG for your reply...&lt;BR /&gt;&lt;BR /&gt; Can I ask you what does each of the command does.. and what do I expect from the command...if I intend to span them to 2 disk?&lt;BR /&gt; &lt;BR /&gt;Many thanks for your help..</description>
      <pubDate>Wed, 06 Oct 2004 23:31:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-queries/m-p/3395039#M862457</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2004-10-06T23:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Tar command queries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-queries/m-p/3395040#M862458</link>
      <description>Just use cpio like&lt;BR /&gt;#cd dir&lt;BR /&gt;&lt;BR /&gt;you are changing dir which requires backup&lt;BR /&gt;#find . | cpio -ocB &amp;gt;/dev/rmt/?? &lt;BR /&gt;&lt;BR /&gt;then you print all the files from that directory and pipe the ouput to cpio which writes on to a tape.&lt;BR /&gt;&lt;BR /&gt;cpio prompts automatically to enter the name of the device files once it spans multiple tapes.No options is requried for that&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Oct 2004 23:48:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-queries/m-p/3395040#M862458</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-10-06T23:48:11Z</dc:date>
    </item>
  </channel>
</rss>

