<?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 problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816688#M828892</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tar has a limitation for bigger files more than 2.0gb , you may try GNU tar which works better , ideally why dont you swtich over to fbackup stuff ?&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 01 Oct 2002 13:01:56 GMT</pubDate>
    <dc:creator>MANOJ SRIVASTAVA</dc:creator>
    <dc:date>2002-10-01T13:01:56Z</dc:date>
    <item>
      <title>Tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816681#M828885</link>
      <description>I want to back up a file system to tape using tar.  However there is one very large file which I don't want to back up.  Any ideas how I can do this easily?</description>
      <pubDate>Tue, 01 Oct 2002 12:41:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816681#M828885</guid>
      <dc:creator>Deborah Grierson</dc:creator>
      <dc:date>2002-10-01T12:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816682#M828886</link>
      <description>get gnu tar:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.13.25/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.13.25/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or use fbackup&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 01 Oct 2002 12:42:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816682#M828886</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-10-01T12:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816683#M828887</link>
      <description>POSIX tar is limited to 2 GB file size&lt;BR /&gt;&lt;BR /&gt;use another method (fbackup or a backup software)</description>
      <pubDate>Tue, 01 Oct 2002 12:45:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816683#M828887</guid>
      <dc:creator>Joaquin Gil de Vergara</dc:creator>
      <dc:date>2002-10-01T12:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816684#M828888</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Could you use 'find' to get the files you want and pipe it into tar? &lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Keely</description>
      <pubDate>Tue, 01 Oct 2002 12:49:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816684#M828888</guid>
      <dc:creator>Keely Jackson</dc:creator>
      <dc:date>2002-10-01T12:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816685#M828889</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;One way to try it is to create a specific list of files to go into the tar archive.  On a small scale it could work like this:&lt;BR /&gt;&lt;BR /&gt;ls -l                                &lt;BR /&gt;total 10                                                             &lt;BR /&gt;-rw-r-----   1 jpoff      users          325 Oct  1 09:51 a.txt      &lt;BR /&gt;-rw-r-----   1 jpoff      users          325 Oct  1 09:51 b.txt      &lt;BR /&gt;-rw-r-----   1 jpoff      users          325 Oct  1 09:51 c.txt      &lt;BR /&gt;-rw-r-----   1 jpoff      users          325 Oct  1 09:51 d.txt      &lt;BR /&gt;-rw-r-----   1 jpoff      users           18 Oct  1 09:52 file.list  &lt;BR /&gt;&lt;BR /&gt;Where file.list contains (excluding the c.txt file):&lt;BR /&gt;&lt;BR /&gt;a.txt&lt;BR /&gt;b.txt&lt;BR /&gt;d.txt&lt;BR /&gt;&lt;BR /&gt;Then this would work (I'm using the Korn shell):&lt;BR /&gt;&lt;BR /&gt;&amp;gt;tar cvf jp.tar $(&lt;FILE.LIST&gt;&lt;/FILE.LIST&gt;a a.txt 1 blocks                                            &lt;BR /&gt;a b.txt 1 blocks                                            &lt;BR /&gt;a d.txt 1 blocks                                            &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you have a huge list of files this method probably won't work so good.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Oct 2002 12:50:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816685#M828889</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-10-01T12:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816686#M828890</link>
      <description>Excluding files in tar is not easy because when directories are listed, all files in that directory are recursively copied. You can use the Gnu version of tar to exclude files but if you want to use a 'standard' utility then your best bet is to use &lt;BR /&gt;find ! \( -name 'myfile' \) | cpio -ocv. Like 'standard' tar, cpio is limited to files of 2GB. Gnu tar is not limited to 2GB files.&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Oct 2002 12:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816686#M828890</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-10-01T12:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816687#M828891</link>
      <description>2 ways, create a list (like index) of dir names or filenames .. for example file "list".&lt;BR /&gt;./fileA&lt;BR /&gt;./dirA&lt;BR /&gt;./dirB/fileB&lt;BR /&gt;then tar it up like so ..&lt;BR /&gt;# tar cvf /dev/rmt/0m $(cat list)&lt;BR /&gt;That way you can try your best to isolate that file that you do not want to back up. Also take not you can do tar append with "tar rvf" which you may find helpful. For instance the "big" file is in /test/bigfile and you want to back up the rest except this, you can tar up everything else then use tar append to all other files in /test expect that "big" file. You would still have to create the list like above.</description>
      <pubDate>Tue, 01 Oct 2002 12:58:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816687#M828891</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-10-01T12:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816688#M828892</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tar has a limitation for bigger files more than 2.0gb , you may try GNU tar which works better , ideally why dont you swtich over to fbackup stuff ?&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Oct 2002 13:01:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816688#M828892</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-10-01T13:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816689#M828893</link>
      <description>Use the find command to get list of files to be backed up, then pipe via egrep (or grep -v) to exclude chosen file(s), finally pipe the output into tar ... &lt;BR /&gt;&lt;BR /&gt;This works just fine when you have loads of files in a subdirectory but have specific files, or even whole subdirectories, you want excluded.&lt;BR /&gt;&lt;BR /&gt;For example, to dump contents of two data areas, but exclude the "test" sub-directories&lt;BR /&gt; you could use...&lt;BR /&gt;&lt;BR /&gt;cd /disk1/live&lt;BR /&gt;find data1 data2  -print  |  egrep -v 'data1/test|data2/test' | tar -cvf /dev/rmt/0m ${TTY}&lt;BR /&gt;&lt;BR /&gt;The above egrep needs the ' ' around the data1/test and data2/test to qualify the use of the | as an "or" operator to the exclusion.&lt;BR /&gt;&lt;BR /&gt;This method is commonly used by our customers (though we actually use a hybrid version of tar that is much more efficient).</description>
      <pubDate>Tue, 01 Oct 2002 14:02:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816689#M828893</guid>
      <dc:creator>ITeam</dc:creator>
      <dc:date>2002-10-01T14:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Tar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816690#M828894</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.  I went with the Alphameric solution and it worked fine.&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Wed, 02 Oct 2002 06:15:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-problem/m-p/2816690#M828894</guid>
      <dc:creator>Deborah Grierson</dc:creator>
      <dc:date>2002-10-02T06:15:02Z</dc:date>
    </item>
  </channel>
</rss>

