<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881295#M101009</link>
    <description>Cheung,&lt;BR /&gt;&lt;BR /&gt;You should take care of this:&lt;BR /&gt;&lt;BR /&gt;This member has assigned points to 98 of 186 responses to his/her questions.&lt;BR /&gt;&lt;BR /&gt;You can find your previous posts in your profile:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/TopSolutions/1,,CA877098!1!questions,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/TopSolutions/1,,CA877098!1!questions,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's pathetic that you have to be continously reminded!&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
    <pubDate>Tue, 14 Jan 2003 12:53:41 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2003-01-14T12:53:41Z</dc:date>
    <item>
      <title>tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881285#M100999</link>
      <description>I would like to use tar to backup our system, how can I verify whether the backup is successful or not? Thx.</description>
      <pubDate>Tue, 14 Jan 2003 11:06:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881285#M100999</guid>
      <dc:creator>Cheung_2</dc:creator>
      <dc:date>2003-01-14T11:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881286#M101000</link>
      <description>Hi, guys&lt;BR /&gt;&lt;BR /&gt;Think twice before answering this guy posting.&lt;BR /&gt;I never seen this guy assigning point</description>
      <pubDate>Tue, 14 Jan 2003 11:10:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881286#M101000</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2003-01-14T11:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881287#M101001</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;check the syslogfile for error messages during tar process and after creating the tape you can have a look which datas are on the tape by PSEUDO restore:&lt;BR /&gt;&lt;BR /&gt;# tar tv&lt;BR /&gt;or&lt;BR /&gt;# tar tvf &lt;DEVICE file=""&gt;&lt;BR /&gt;or&lt;BR /&gt;# tar tv &amp;gt; /tmp/index&lt;BR /&gt;&lt;BR /&gt;Regards ...&lt;BR /&gt;Armin&lt;/DEVICE&gt;</description>
      <pubDate>Tue, 14 Jan 2003 11:15:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881287#M101001</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2003-01-14T11:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881288#M101002</link>
      <description>u can list the files from the backup tape u have taken by&lt;BR /&gt;'tar tvf &lt;TAPE_DEV_NAME&gt;'&lt;BR /&gt;&lt;BR /&gt;see man pages for more details&lt;BR /&gt;&lt;BR /&gt;ruban&lt;/TAPE_DEV_NAME&gt;</description>
      <pubDate>Tue, 14 Jan 2003 11:19:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881288#M101002</guid>
      <dc:creator>M.Kantharuban</dc:creator>
      <dc:date>2003-01-14T11:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881289#M101003</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Always that a unix command have been executed return a code, if this code is cero (0) this mean that have been successfully, other code means non-successfully execution status. This return code is stored in $? environment variable, to answer for this do:&lt;BR /&gt;&lt;BR /&gt;tar &lt;YOUR_TAR_OPTIONS&gt;&lt;BR /&gt;if [$? -eq 0 ]&lt;BR /&gt;then&lt;BR /&gt;   echo "tar successfully"&lt;BR /&gt;else&lt;BR /&gt;   echo "tar have warnings or errors"&lt;BR /&gt;fi&lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;Rgds.&lt;/YOUR_TAR_OPTIONS&gt;</description>
      <pubDate>Tue, 14 Jan 2003 11:29:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881289#M101003</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2003-01-14T11:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881290#M101004</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Always that a unix command have been executed return a code, if this code is cero (0) this mean that have been successfully, other code means non-successfully execution status. This return code is stored in $? environment variable, to answer for this do:&lt;BR /&gt;&lt;BR /&gt;tar &lt;YOUR_TAR_OPTIONS&gt;&lt;BR /&gt;if [ $? -eq 0 ]&lt;BR /&gt;then&lt;BR /&gt;   echo "tar successfully"&lt;BR /&gt;else&lt;BR /&gt;   echo "tar have warnings or errors"&lt;BR /&gt;fi&lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;Rgds.&lt;/YOUR_TAR_OPTIONS&gt;</description>
      <pubDate>Tue, 14 Jan 2003 11:30:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881290#M101004</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2003-01-14T11:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881291#M101005</link>
      <description>hi Jose Maria Mosquera , &lt;BR /&gt;&lt;BR /&gt;thx r reply, i hv tried r script, but it pop up the below the message everytime "./c: [0: command not found&lt;BR /&gt;tar have warnings or errors" , can suggest how to fix it ? thx.</description>
      <pubDate>Tue, 14 Jan 2003 12:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881291#M101005</guid>
      <dc:creator>Cheung_2</dc:creator>
      <dc:date>2003-01-14T12:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881292#M101006</link>
      <description>Hi Cheung,&lt;BR /&gt;&lt;BR /&gt;maybe this helps:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://66.216.15.50/ITRCForumsEtiquette/" target="_blank"&gt;http://66.216.15.50/ITRCForumsEtiquette/&lt;/A&gt;</description>
      <pubDate>Tue, 14 Jan 2003 12:19:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881292#M101006</guid>
      <dc:creator>Jochen Heuer</dc:creator>
      <dc:date>2003-01-14T12:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881293#M101007</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Really, I've tried and work fine, pls take note about my last reply wherw "if" statament have a space, this is teh correct sintax:&lt;BR /&gt;&lt;BR /&gt;tar &lt;YOU_TAR_OPTIONS&gt;&lt;BR /&gt;if [ $? -eq 0 ]    &amp;lt;-- correction!&lt;BR /&gt;then&lt;BR /&gt;   echo "tar successfully"&lt;BR /&gt;else&lt;BR /&gt;   echo "tar have warnings or errors"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Rgds, and tell me about!&lt;/YOU_TAR_OPTIONS&gt;</description>
      <pubDate>Tue, 14 Jan 2003 12:20:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881293#M101007</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2003-01-14T12:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881294#M101008</link>
      <description>You can also try this:&lt;BR /&gt;&lt;BR /&gt;$ tar cvf /archive.tar files || echo "tar failed"</description>
      <pubDate>Tue, 14 Jan 2003 12:22:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881294#M101008</guid>
      <dc:creator>Jochen Heuer</dc:creator>
      <dc:date>2003-01-14T12:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881295#M101009</link>
      <description>Cheung,&lt;BR /&gt;&lt;BR /&gt;You should take care of this:&lt;BR /&gt;&lt;BR /&gt;This member has assigned points to 98 of 186 responses to his/her questions.&lt;BR /&gt;&lt;BR /&gt;You can find your previous posts in your profile:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/TopSolutions/1,,CA877098!1!questions,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/TopSolutions/1,,CA877098!1!questions,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's pathetic that you have to be continously reminded!&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 14 Jan 2003 12:53:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881295#M101009</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2003-01-14T12:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881296#M101010</link>
      <description>First, you can use the return code.  Maks sure that you can manyally run the tar backup, then do this.&lt;BR /&gt;&lt;BR /&gt;TAR="tar cvf /dev/rmt/0m *"&lt;BR /&gt;&lt;BR /&gt;if `$TAR` ; then&lt;BR /&gt;   echo "backup worked"&lt;BR /&gt;sles&lt;BR /&gt;   echo "backup failed"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;This gets harder depending on what your doing, but return codes are the best indicators whether a command has failed.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Tue, 14 Jan 2003 13:48:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881296#M101010</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-01-14T13:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881297#M101011</link>
      <description>Just to pile on.&lt;BR /&gt;&lt;BR /&gt;don't think using tar as a backup will let you recover a HP-UX system.&lt;BR /&gt;&lt;BR /&gt;to do that, you need an ignite backup&lt;BR /&gt;&lt;BR /&gt;make_tape_recovery&lt;BR /&gt;&lt;BR /&gt;Then if you have the latests tar patch, you can make a massive tarball including files up to 8G in the tar.&lt;BR /&gt;&lt;BR /&gt;Or you could use omniback or fbackup to make a second usaable tape.&lt;BR /&gt;&lt;BR /&gt;I try not to post the same question twice.  Though I've been guilty of occasionally not searching before posting, at least I have a 100% record of handing out points on my question.&lt;BR /&gt;&lt;BR /&gt;Please Cheung, be a little nicer to your peers and reward them when they help you.  The ettiquette link and Mr. Brown's post deserve 10 points for reminding you to be a responsible poster. Frankly anyone that bothers to post an answer should at least get one point.&lt;BR /&gt;&lt;BR /&gt;I have used answers to my own questions to cut and paste solutions on numerious occaisions, and thats really the way to go.&lt;BR /&gt;&lt;BR /&gt;Lets be friends and come up with new problems that strain our brains to come up with answers.&lt;BR /&gt;&lt;BR /&gt;These forums are NO substitute for a support contract, though I frequently go here first just to have a chance to interact with my peers. I guess I kind of like them.&lt;BR /&gt;&lt;BR /&gt;These forums can be a substitute for hp education, but really if you want to do the job right, you need SysAdmin I and II.  &lt;BR /&gt;&lt;BR /&gt;A man page goes a long way towards solving these kind of problems. HP has MUCH better man pages than Linux.&lt;BR /&gt;&lt;BR /&gt;Lets all be friends now.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 14:29:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881297#M101011</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-14T14:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: tar backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881298#M101012</link>
      <description>In general, outside the scope of Ignite-UX, tar(1) is not intended for and is inappropriate for system backup. At least use fbackup(1M), for example via SAM, or preferably a modern day backup product like HP's OmniBack.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 14:30:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-backup/m-p/2881298#M101012</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2003-01-14T14:30:13Z</dc:date>
    </item>
  </channel>
</rss>

