<?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: SAM -fbackup exit code in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681914#M245539</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;refer to similar cases:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000079971897" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000079971897&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000080064976" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000080064976&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;btw, r u on 11.00?&lt;BR /&gt;&lt;BR /&gt;regards.</description>
    <pubDate>Wed, 30 Nov 2005 22:38:35 GMT</pubDate>
    <dc:creator>Joseph Loo</dc:creator>
    <dc:date>2005-11-30T22:38:35Z</dc:date>
    <item>
      <title>SAM -fbackup exit code</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681913#M245538</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I have a few automated fbackup schedule using SAM.&lt;BR /&gt;&lt;BR /&gt;Some of the fbackup run with exit code=4, and some with exit code=2.&lt;BR /&gt;&lt;BR /&gt;When check at the man page, it only say exit code=2 is Error, while Exit code=4 is Warning.&lt;BR /&gt;&lt;BR /&gt;How can I find out what is the cause of my fbackup failure? Is it tape full? Is it bad media? &lt;BR /&gt;So far I have look into /var/adm/fbackupfiles, it also didn't state the cause of failure there.&lt;BR /&gt;&lt;BR /&gt;Below is the example of error message at SAM:&lt;BR /&gt;&lt;BR /&gt; Full backup started on mpcim1 : Thu Dec 1 05:39:00 mal 2005 (Scheduled Backup)&lt;BR /&gt;{ fbackup -0 -u    -g /etc/sam/br/graphOEAa23245 -I /var/sam/log/br_index.full -c /etc/sam/br/fbackup_config -d /var/adm/fbackupfiles/dates -f /dev/rmt/0m } 2&amp;gt;&amp;amp;1 &lt;BR /&gt;Full backup completed with warnings on mpcim1 : Thu Dec 1 08:38:45 mal 2005 .&lt;BR /&gt;Exit code = 4&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Nov 2005 21:53:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681913#M245538</guid>
      <dc:creator>ckchai</dc:creator>
      <dc:date>2005-11-30T21:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAM -fbackup exit code</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681914#M245539</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;refer to similar cases:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000079971897" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000079971897&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000080064976" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000080064976&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;btw, r u on 11.00?&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Wed, 30 Nov 2005 22:38:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681914#M245539</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-11-30T22:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAM -fbackup exit code</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681915#M245540</link>
      <description>yes Im on HP-UX 11.00</description>
      <pubDate>Wed, 30 Nov 2005 22:42:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681915#M245540</guid>
      <dc:creator>ckchai</dc:creator>
      <dc:date>2005-11-30T22:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAM -fbackup exit code</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681916#M245541</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I wouldn't be too concerned about the exit codes of 4.  That can be caused by using a new tape, or rather writing a new fbackup on a tape.  (the tape doesn't have to be new.)&lt;BR /&gt;&lt;BR /&gt;To check if you're running out of tape you can add a line the config file,&lt;BR /&gt;/etc/sam/br/fbackup_config in your case, to get a notice of a change tape request.  Add a chgvol line with a script that will email you.  Even if you're not around to switch tapes you'll at least know that causing problems with your backups.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom</description>
      <pubDate>Wed, 30 Nov 2005 23:02:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681916#M245541</guid>
      <dc:creator>Tom Ward_1</dc:creator>
      <dc:date>2005-11-30T23:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAM -fbackup exit code</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681917#M245542</link>
      <description>So far I'm ok with the exit code=4.&lt;BR /&gt;&lt;BR /&gt;How about exit code=2? what does it mean?&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Dec 2005 00:44:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681917#M245542</guid>
      <dc:creator>ckchai</dc:creator>
      <dc:date>2005-12-01T00:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAM -fbackup exit code</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681918#M245543</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;refer to this doc which shows some common causes for exit code 2:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000079312799" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000079312799&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Thu, 01 Dec 2005 02:06:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681918#M245543</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-12-01T02:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAM -fbackup exit code</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681919#M245544</link>
      <description>Hi,&lt;BR /&gt; Thanks got the respond.&lt;BR /&gt;&lt;BR /&gt;Is it conculded that the fbackup will just return exit code 0,1,2,4.&lt;BR /&gt;&lt;BR /&gt;If I suspect the exit code=2 that i encountered is due to "requesting 2nd tape" . Will the system give me a prompt before the backup failed and time out?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Dec 2005 03:05:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681919#M245544</guid>
      <dc:creator>ckchai</dc:creator>
      <dc:date>2005-12-01T03:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAM -fbackup exit code</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681920#M245545</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;there should be a warning/prompt, refer to this post:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=733451" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=733451&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Thu, 01 Dec 2005 03:48:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681920#M245545</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-12-01T03:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAM -fbackup exit code</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681921#M245546</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;If you're running the backup interactively from SAM you'll be prompted for another tape, but when the backup is scheduled via cron you will not get a prompt.&lt;BR /&gt;&lt;BR /&gt;To check if you're running out of tape you can add a line the config file,&lt;BR /&gt;/etc/sam/br/fbackup_config in your case, to get a notice of a change tape request. Add a chgvol line with a script that will email you. Even if you're not around to switch tapes you'll at least know that causing problems with your backups.&lt;BR /&gt;&lt;BR /&gt;Make a simple script to let you know&lt;BR /&gt;    vi /usr/local/bin/tapechange&lt;BR /&gt;&lt;BR /&gt;Add these lines&lt;BR /&gt; #!/usr/bin/ksh&lt;BR /&gt;    echo "Tape change needed for backup" | \&lt;BR /&gt;    mailx -s "Backup Alert" your_email_here&lt;BR /&gt;&lt;BR /&gt;Make the script executable.&lt;BR /&gt;    chmod 555 /usr/local/bin/tapechange&lt;BR /&gt;&lt;BR /&gt;Then add a line to the fbackup configuration file to call then when a tape change is needed.&lt;BR /&gt;    vi /etc/sam/br/fbackup_config&lt;BR /&gt;&lt;BR /&gt;add this line&lt;BR /&gt;    chgvol /usr/local/bin/tapechange&lt;BR /&gt;&lt;BR /&gt;It will work, but you have to set it up.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom</description>
      <pubDate>Thu, 01 Dec 2005 08:13:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-fbackup-exit-code/m-p/3681921#M245546</guid>
      <dc:creator>Tom Ward_1</dc:creator>
      <dc:date>2005-12-01T08:13:30Z</dc:date>
    </item>
  </channel>
</rss>

