<?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: Script to run Ignite backup and remove last two weeks backup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-run-ignite-backup-and-remove-last-two-weeks-backup/m-p/5265387#M499239</link>
    <description>Thanks.. Then how if I want to integrate with the email if the backup unsuccessful?&lt;BR /&gt;</description>
    <pubDate>Mon, 06 Dec 2010 07:05:28 GMT</pubDate>
    <dc:creator>mohdamir</dc:creator>
    <dc:date>2010-12-06T07:05:28Z</dc:date>
    <item>
      <title>Script to run Ignite backup and remove last two weeks backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-run-ignite-backup-and-remove-last-two-weeks-backup/m-p/5265385#M499237</link>
      <description>Dear gurus,&lt;BR /&gt;I need your help on how to write a script to run Ignite backup and at the same time delete the last two weeks backup copy. From my understanding, the Ignite script will be run on client and the removal script will be run on the Ignite server, right?&lt;BR /&gt;&lt;BR /&gt;Thanks...</description>
      <pubDate>Mon, 06 Dec 2010 03:59:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-run-ignite-backup-and-remove-last-two-weeks-backup/m-p/5265385#M499237</guid>
      <dc:creator>mohdamir</dc:creator>
      <dc:date>2010-12-06T03:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Script to run Ignite backup and remove last two weeks backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-run-ignite-backup-and-remove-last-two-weeks-backup/m-p/5265386#M499238</link>
      <description>For net recovery, &lt;BR /&gt;&lt;BR /&gt;/opt/ignite/bin/make_net_recovery -v -s &lt;IGNITE server=""&gt; -n 0 -x inc_entire=vg00 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;For tape recovery there is no retention using script.  That's upto you.&lt;BR /&gt;&lt;/IGNITE&gt;</description>
      <pubDate>Mon, 06 Dec 2010 04:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-run-ignite-backup-and-remove-last-two-weeks-backup/m-p/5265386#M499238</guid>
      <dc:creator>Shibin_2</dc:creator>
      <dc:date>2010-12-06T04:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Script to run Ignite backup and remove last two weeks backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-run-ignite-backup-and-remove-last-two-weeks-backup/m-p/5265387#M499239</link>
      <description>Thanks.. Then how if I want to integrate with the email if the backup unsuccessful?&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Dec 2010 07:05:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-run-ignite-backup-and-remove-last-two-weeks-backup/m-p/5265387#M499239</guid>
      <dc:creator>mohdamir</dc:creator>
      <dc:date>2010-12-06T07:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Script to run Ignite backup and remove last two weeks backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-run-ignite-backup-and-remove-last-two-weeks-backup/m-p/5265388#M499240</link>
      <description>If you want to mail it, then you need to redirect the above to create a log file &lt;BR /&gt;&lt;BR /&gt;/opt/ignite/bin/make_net_recovery -v -s &lt;IGNITE server=""&gt; -n 0 -x inc_entire=vg00 2&amp;gt;&amp;amp;1 &amp;gt; /tmp/ignite.log&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You need to create another script to check this log file, once it is completed.&lt;BR /&gt;&lt;BR /&gt;grep -i unsuccess /tmp/ignite.log&lt;BR /&gt;&lt;BR /&gt;if [ ${?} -eq 0 ]; then&lt;BR /&gt; &lt;BR /&gt;      echo "Subject: Ignite failed on `hostname`" |/usr/bin/mail &lt;YOUR mail=""&gt;&lt;/YOUR&gt;&lt;/IGNITE&gt;</description>
      <pubDate>Mon, 06 Dec 2010 07:21:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-run-ignite-backup-and-remove-last-two-weeks-backup/m-p/5265388#M499240</guid>
      <dc:creator>Shibin_2</dc:creator>
      <dc:date>2010-12-06T07:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Script to run Ignite backup and remove last two weeks backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-run-ignite-backup-and-remove-last-two-weeks-backup/m-p/5265389#M499241</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Yes&lt;BR /&gt;&lt;BR /&gt;Or you can add below to the end of make_net_recovery command in the script&lt;BR /&gt;&lt;BR /&gt;if [ $? -eq 0 ]&lt;BR /&gt;then&lt;BR /&gt;echo "Ignite backup of `hostname` completed successfully" | mailx -s "Ignite backup of `hostname` completed" &lt;MAIL_ID&gt;&lt;BR /&gt;else&lt;BR /&gt;echo "Please check log file or Ignite backup for more details of the error on `hostname`" | mailx -s "Ignite backup of `hostname` was unsuccessfull" &lt;MAIL_ID&gt;&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;WCI&lt;/MAIL_ID&gt;&lt;/MAIL_ID&gt;</description>
      <pubDate>Tue, 07 Dec 2010 05:26:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-run-ignite-backup-and-remove-last-two-weeks-backup/m-p/5265389#M499241</guid>
      <dc:creator>wci</dc:creator>
      <dc:date>2010-12-07T05:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Script to run Ignite backup and remove last two weeks backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-run-ignite-backup-and-remove-last-two-weeks-backup/m-p/5265390#M499242</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The -n option of the make_net_recovery command allows you to retain a fixed number of recovery images on your system, the default being two images. The oldest recovery image is removed when a new recovery image is created and the specified limit is exceeded. For more information, see make_net_recovery(1M).&lt;BR /&gt;&lt;BR /&gt;rgs,</description>
      <pubDate>Tue, 07 Dec 2010 09:50:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-run-ignite-backup-and-remove-last-two-weeks-backup/m-p/5265390#M499242</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2010-12-07T09:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Script to run Ignite backup and remove last two weeks backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-run-ignite-backup-and-remove-last-two-weeks-backup/m-p/5265391#M499243</link>
      <description>Thanks guys</description>
      <pubDate>Tue, 15 Mar 2011 12:01:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-run-ignite-backup-and-remove-last-two-weeks-backup/m-p/5265391#M499243</guid>
      <dc:creator>mohdamir</dc:creator>
      <dc:date>2011-03-15T12:01:01Z</dc:date>
    </item>
  </channel>
</rss>

