<?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: backup problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-problem/m-p/3374482#M196191</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;2 problems&lt;BR /&gt;&lt;BR /&gt;1)fbackup returns one of the following values:&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;&lt;BR /&gt;0 upon normal completion.&lt;BR /&gt;1 If it is interrupted but allowed to save its state for possible restart.&lt;BR /&gt;2 If any error conditions prevent the session from completing.&lt;BR /&gt;4 if any warning conditions are encountered.&lt;BR /&gt;   If warnings occur, the operator should verify the&lt;BR /&gt;      fbackup logs to justify the sanity of the backup taken.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4 can be returned if files were open during backup&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2)The script error&lt;BR /&gt;&lt;BR /&gt;put set -x &lt;BR /&gt;&lt;BR /&gt;after line 1 and run it&lt;BR /&gt;&lt;BR /&gt;You see what is happening then&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                  Steve Steel</description>
    <pubDate>Wed, 08 Sep 2004 09:49:37 GMT</pubDate>
    <dc:creator>Steve Steel</dc:creator>
    <dc:date>2004-09-08T09:49:37Z</dc:date>
    <item>
      <title>backup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-problem/m-p/3374480#M196189</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In one of the HP-UX servers i am getting the following error.&lt;BR /&gt;&lt;BR /&gt;/opt/system/bin/backup.sh[872]: TAPE_TOTAL[1]: bad number&lt;BR /&gt;/opt/system/bin/backup.sh[872]: TAPE_TOTAL[2]: bad number&lt;BR /&gt;/opt/system/bin/backup.sh[872]: TAPE_TOTAL[3]: bad number&lt;BR /&gt;fbackup exited with Status 4 - Possible causes are new tape or no dates file&lt;BR /&gt;~&lt;BR /&gt;~&lt;BR /&gt;Bue when i check the logs of backup it shows successfull.&lt;BR /&gt;&lt;BR /&gt;The backup script is attached.&lt;BR /&gt;&lt;BR /&gt;Can anybody pls help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Sep 2004 07:56:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-problem/m-p/3374480#M196189</guid>
      <dc:creator>Amit Manna_6</dc:creator>
      <dc:date>2004-09-08T07:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: backup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-problem/m-p/3374481#M196190</link>
      <description>It seems the script errors at line 872:&lt;BR /&gt;&lt;BR /&gt;while [ ${NUM_LOGS} -gt ${BACKUP_TAPES} ]&lt;BR /&gt;&lt;BR /&gt;Something is wrong here in the context of the script but I'm not a script specialist to tell you what is wrong with this line...</description>
      <pubDate>Wed, 08 Sep 2004 08:33:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-problem/m-p/3374481#M196190</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-09-08T08:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: backup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-problem/m-p/3374482#M196191</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;2 problems&lt;BR /&gt;&lt;BR /&gt;1)fbackup returns one of the following values:&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;&lt;BR /&gt;0 upon normal completion.&lt;BR /&gt;1 If it is interrupted but allowed to save its state for possible restart.&lt;BR /&gt;2 If any error conditions prevent the session from completing.&lt;BR /&gt;4 if any warning conditions are encountered.&lt;BR /&gt;   If warnings occur, the operator should verify the&lt;BR /&gt;      fbackup logs to justify the sanity of the backup taken.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4 can be returned if files were open during backup&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2)The script error&lt;BR /&gt;&lt;BR /&gt;put set -x &lt;BR /&gt;&lt;BR /&gt;after line 1 and run it&lt;BR /&gt;&lt;BR /&gt;You see what is happening then&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                  Steve Steel</description>
      <pubDate>Wed, 08 Sep 2004 09:49:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-problem/m-p/3374482#M196191</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-09-08T09:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: backup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-problem/m-p/3374483#M196192</link>
      <description>Line 784... you're doing a numeric comparison (-le), but you have TAPE_TOTAL[${TAPE_NUM}] as a string by enclosing it in double quotes.</description>
      <pubDate>Wed, 08 Sep 2004 09:51:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-problem/m-p/3374483#M196192</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2004-09-08T09:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: backup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup-problem/m-p/3374484#M196193</link>
      <description>This does not set a value to the variable -&lt;BR /&gt;echo "BACKUP_TAPES=21"&lt;BR /&gt; I do not see where this is actually being set, thus a bad number.&lt;BR /&gt;&lt;BR /&gt;[ ${NUM_LOGS} -lt ${BACKUP_TAPES} ] || {         &lt;BR /&gt; while [ ${NUM_LOGS} -gt ${BACKUP_TAPES} ]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;dl</description>
      <pubDate>Wed, 08 Sep 2004 11:01:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup-problem/m-p/3374484#M196193</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2004-09-08T11:01:16Z</dc:date>
    </item>
  </channel>
</rss>

