<?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 backup - multiple directories in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862632#M396820</link>
    <description>Well, with some scripting, tar can do it too. However, unless there's some need to have the tapes readable by another vendor's system, why not simply use fbackup? I believe (and someone can correct me if I'm wrong) that it will automatically prompt for a second tape once the first one is full, thus negating any need to script anything regarding including/excluding directories and files.</description>
    <pubDate>Mon, 27 Sep 2004 13:20:51 GMT</pubDate>
    <dc:creator>Jeff_Traigle</dc:creator>
    <dc:date>2004-09-27T13:20:51Z</dc:date>
    <item>
      <title>tar backup - multiple directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862630#M396818</link>
      <description>I need to backup with tar a file system that won't fit on one tape. How do I tar in one command several directories and exclude others ?  and then in the second pass pick up all directories but what I backed up in the origional pass ??&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2004 12:55:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862630#M396818</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2004-09-27T12:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup - multiple directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862631#M396819</link>
      <description>Hi,&lt;BR /&gt;For what reason do you have to backup with tar?&lt;BR /&gt;I would go with pax... which will do (with a bit of scripting...) exactly what you want...&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Mon, 27 Sep 2004 13:08:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862631#M396819</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2004-09-27T13:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup - multiple directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862632#M396820</link>
      <description>Well, with some scripting, tar can do it too. However, unless there's some need to have the tapes readable by another vendor's system, why not simply use fbackup? I believe (and someone can correct me if I'm wrong) that it will automatically prompt for a second tape once the first one is full, thus negating any need to script anything regarding including/excluding directories and files.</description>
      <pubDate>Mon, 27 Sep 2004 13:20:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862632#M396820</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2004-09-27T13:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup - multiple directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862633#M396821</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;tar unfortunately does not have and exclude option. fbackup has. pax I think does not have it to.&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2004 13:33:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862633#M396821</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-09-27T13:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup - multiple directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862634#M396822</link>
      <description>You could use regex to exclude the directories  and do a  simple ls  and then pipe it to tar cvf;  It would look something like this. If I were to backup all the directories other than those starting with "e to g".&lt;BR /&gt;ls [!e-g]* |tar cvf test.tar&lt;BR /&gt;-Cheers&lt;BR /&gt;Govind</description>
      <pubDate>Mon, 27 Sep 2004 13:34:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862634#M396822</guid>
      <dc:creator>Govind_3</dc:creator>
      <dc:date>2004-09-27T13:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup - multiple directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862635#M396823</link>
      <description>Like this:&lt;BR /&gt;&lt;BR /&gt;tar -cf /dev/rmt0 `cat /root/backupfiles1`&lt;BR /&gt;&lt;BR /&gt;tar -cf /dev/rmt/0 `cat /root/backupfiles2`&lt;BR /&gt;&lt;BR /&gt;cat /root/backupfiles1&lt;BR /&gt;/bin&lt;BR /&gt;/boot&lt;BR /&gt;/dev&lt;BR /&gt;/etc&lt;BR /&gt;&lt;BR /&gt;cat /root/backupfiles2&lt;BR /&gt;/home&lt;BR /&gt;/usr&lt;BR /&gt;/var&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2004 13:41:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862635#M396823</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-09-27T13:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup - multiple directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862636#M396824</link>
      <description>Govind,&lt;BR /&gt;&lt;BR /&gt;sorry but that cannot work tar does read from stdin except when told with f -&lt;BR /&gt;and then you do not a tape device anymore.&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2004 13:42:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862636#M396824</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-09-27T13:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup - multiple directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862637#M396825</link>
      <description>HI Geoff,&lt;BR /&gt;&lt;BR /&gt;if Mike does not want to exclude a dir from under a dir that he is backing up then your approach should work.&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2004 13:44:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862637#M396825</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-09-27T13:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup - multiple directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862638#M396826</link>
      <description>Thanks</description>
      <pubDate>Mon, 27 Sep 2004 13:52:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup-multiple-directories/m-p/4862638#M396826</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2004-09-27T13:52:59Z</dc:date>
    </item>
  </channel>
</rss>

