<?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: Ignite Backup Script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5686035#M498044</link>
    <description>&lt;P&gt;Ignite has 3 separate return codes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; No warnings or failures occurred; the execution completed successfully.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; A failure occurred.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; A warning occurred.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now a warning may be a problem with the system itself (unmounted filesystems, bad filenames, etc) which creates a backup but a subsequent restore may have some issues. So each non-zero return needs to be investigated. I wrote the enclosed script to simplify the task and to also log the results to syslog (using facility local2). This script can optionally email the results when there is a failure/warning, or add -v and success will also be emailed. You can create a separate logfile for local by adding local2.none&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jun 2012 00:35:55 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2012-06-11T00:35:55Z</dc:date>
    <item>
      <title>Ignite Backup Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5685905#M498042</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have 173 HP-UX servers, currently i am taking backup using cron job, but unfortunately i don't know if os backup taken successfully or no, for that i need your support to provide me with simple script to send me mail after backup done in these three status&lt;BR /&gt;&lt;BR /&gt;backup success&lt;BR /&gt;failure&lt;BR /&gt;success with warning&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2012 10:21:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5685905#M498042</guid>
      <dc:creator>itrc55</dc:creator>
      <dc:date>2012-06-10T10:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ignite Backup Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5686013#M498043</link>
      <description>&lt;P&gt;&amp;gt;script to send me mail after backup done in these three status&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are these well defined exit status codes?&amp;nbsp; Or do you need to scan stderr?&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2012 20:39:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5686013#M498043</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-06-10T20:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Ignite Backup Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5686035#M498044</link>
      <description>&lt;P&gt;Ignite has 3 separate return codes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; No warnings or failures occurred; the execution completed successfully.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; A failure occurred.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; A warning occurred.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now a warning may be a problem with the system itself (unmounted filesystems, bad filenames, etc) which creates a backup but a subsequent restore may have some issues. So each non-zero return needs to be investigated. I wrote the enclosed script to simplify the task and to also log the results to syslog (using facility local2). This script can optionally email the results when there is a failure/warning, or add -v and success will also be emailed. You can create a separate logfile for local by adding local2.none&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2012 00:35:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5686035#M498044</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2012-06-11T00:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ignite Backup Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5692871#M498045</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Mr. &lt;A href="https://community.hpe.com/t5/user/viewprofilepage/user-id/560221" target="_self"&gt;&lt;SPAN class="login-bold"&gt;Bill Hassell&lt;/SPAN&gt;&lt;/A&gt; for your support, But can you tell me what is the things you want me to edit in this script ? if the ignite server IP is 15.0.18.63 and e-mai is &lt;A href="mailto:test@abc.com" target="_blank"&gt;test@abc.com&lt;/A&gt; and only need VG00 for backup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where i edit the script like below&lt;/P&gt;&lt;P&gt;mnr -s 15.0.18.63 -e &lt;A href="mailto:test@abc.com" target="_blank"&gt;test@abc.com&lt;/A&gt; -n 2 -p -v&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and when i run the script i facing these message&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#./mnr.sh&lt;/P&gt;&lt;P&gt;-s &amp;lt;server&amp;gt; is required&lt;BR /&gt;=======================&lt;/P&gt;&lt;P&gt;Usage: mnr -s 15.0.18.63 -e &lt;A href="mailto:test@abc.com" target="_blank"&gt;test@abc.com&lt;/A&gt; -n 2 -p -v&lt;BR /&gt;where:&lt;BR /&gt;-s = Ignite server hostname or IP address (required)&lt;BR /&gt;-e = email address for notifications&lt;BR /&gt;-n &amp;lt;qty&amp;gt; = number of archives to keep - default=2&lt;BR /&gt;-p = run command in preview mode&lt;BR /&gt;-v = verbose (email for success too)&lt;BR /&gt;-x = directories to be excluded from vg00&lt;/P&gt;&lt;P&gt;Logs results to /var/adm/mnr.log, notice to syslog (local2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please your support thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2012 06:46:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5692871#M498045</guid>
      <dc:creator>itrc55</dc:creator>
      <dc:date>2012-06-18T06:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ignite Backup Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5695209#M498046</link>
      <description>&lt;P&gt;There is nothing to edit in the script. However, the script tries to validate the IP address or hostname. You can trace the program to see the test:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRACEME=1 mnr -s 15.0.18.63 -e &lt;A target="_blank" rel="nofollow" href="mailto:test@abc.com"&gt;test@abc.com&lt;/A&gt; -n 2 -p -v&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error indicates that the IP address did not get parsed. I have tried to duplicate your error but cannot get the error message (which occurs when -z $IGNITESERVER is true). In other words, the variable is testing as zero length. Post the results of the TRACME comand line.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2012 03:00:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5695209#M498046</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2012-06-20T03:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ignite Backup Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5695337#M498047</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response, but can you send me the line number on this scripts you should me fill it with server IP and email and excluded filesystem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because I fill one line&amp;nbsp;# 28, and this is the output of trace command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#ll&lt;BR /&gt;total 96&lt;BR /&gt;-rw-r--r--&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 Jun 19 08:45&amp;nbsp; 9999&lt;BR /&gt;-rwxr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1824 Jun 18 11:54 ignite-tmp.sh&lt;BR /&gt;-rwxr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1806 Jun 19 13:41 ignite.sh&lt;BR /&gt;-rwxr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6394 Jun 20 09:13 mnr.sh&lt;BR /&gt;-rw-r--r--&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 35 Jun 18 15:19 test&lt;BR /&gt;-rwxr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1263 Jun 19 09:06 test.sh&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# TRACEME=1 mnr -s&amp;nbsp;15.0.18.63 -e &lt;A target="_blank" rel="nofollow" href="mailto:test@abc.com"&gt;test@abc.com&lt;/A&gt; -n 2 -p -v&lt;BR /&gt;sh: mnr:&amp;nbsp; not found.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# TRACEME=1 mnr.sh -s&amp;nbsp;15.0.18.63 -e&amp;nbsp;&lt;A target="_blank" rel="nofollow" href="mailto:test@abc.com"&gt;test@abc.com&lt;/A&gt; -n 2 -p -v&lt;BR /&gt;sh: mnr.sh:&amp;nbsp; not found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2012 06:35:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5695337#M498047</guid>
      <dc:creator>itrc55</dc:creator>
      <dc:date>2012-06-20T06:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ignite Backup Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5696323#M498048</link>
      <description>&lt;P&gt;&amp;gt;-rwxr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp; mnr.sh&lt;BR /&gt;&amp;gt;# TRACEME=1 mnr.sh -s&amp;nbsp;15.0.18.63 -e&amp;nbsp;&lt;A target="_blank" rel="nofollow" href="mailto:test@abc.com"&gt;test@abc.com&lt;/A&gt; -n 2 -p -v&lt;BR /&gt;&amp;gt;sh: mnr.sh:&amp;nbsp; not found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is probably shells 101.&amp;nbsp; Since "." isn't in $PATH, you need to use "./":&lt;/P&gt;&lt;P&gt;TRACEME=1 ./mnr.sh -s&amp;nbsp;15.0.18.63 -e&amp;nbsp;&lt;A target="_blank" rel="nofollow" href="mailto:test@abc.com"&gt;test@abc.com&lt;/A&gt; -n 2 -p -v&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2012 21:34:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5696323#M498048</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-06-20T21:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ignite Backup Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5698995#M498049</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;check the output of TRACEME command on the attached file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and still i facing the same issue when i try to run this script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;#./mnr.sh&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;-s &amp;lt;server&amp;gt; is required&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;=======================&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;Usage: mnr -s &amp;lt;15.0.18.63&amp;gt; [-e &lt;A href="mailto:test@abc.com" target="_blank"&gt;&lt;FONT color="#ff0000"&gt;test@abc.com&lt;/FONT&gt;&lt;/A&gt;] -p -v -x exclude=/u02&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;where:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;-s = Ignite server hostname or IP address (required)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;-e = email address for notifications&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;-n &amp;lt;qty&amp;gt; = number of archives to keep - default=2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;-p = run command in preview mode&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;-v = verbose (email for success too)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;-x = directories to be excluded from vg00&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;Logs results to /var/adm/mnr.log, notice to syslog (local2)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: i added my server IP and my mail on this line (28) on the script, please tell me if i need to edit other line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;Usage: mnr -s &amp;lt;15.0.18.63&amp;gt; [-e &lt;A href="mailto:test@abc.com" target="_blank"&gt;&lt;FONT color="#ff0000"&gt;test@abc.com&lt;/FONT&gt;&lt;/A&gt;] [-n &amp;lt;qty&amp;gt;] [-p] [-v] [-x exclude=/u02]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2012 06:24:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5698995#M498049</guid>
      <dc:creator>itrc55</dc:creator>
      <dc:date>2012-06-23T06:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ignite Backup Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5699241#M498050</link>
      <description>&lt;P&gt;I'm a bit confused. The trace output shows that the script ran just fine.&lt;/P&gt;&lt;P&gt;Your example in red seems to indicate that you entered nothing on the command line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;#./mnr.sh&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;-s &amp;lt;server&amp;gt; is required&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This script is not interactive, it requires command line parameters.&lt;/P&gt;&lt;P&gt;It is designed to be used in batch mode such as a cron job.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jun 2012 01:39:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ignite-backup-script/m-p/5699241#M498050</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2012-06-24T01:39:20Z</dc:date>
    </item>
  </channel>
</rss>

