<?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 Automate to do system backup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-to-do-system-backup/m-p/5299603#M497502</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Required your assistance in &lt;SPAN class="lia-search-match-lithium"&gt;script&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;enhancement&lt;/SPAN&gt;, we have more then 100 HP servers and we manage the &lt;SPAN class="lia-search-match-lithium"&gt;backup&lt;/SPAN&gt; from &lt;SPAN class="lia-search-match-lithium"&gt;ignite&lt;/SPAN&gt; server. currently we are backing up manually doing make net recovery﻿. we need to configure in each server in cron job after successfull &lt;SPAN class="lia-search-match-lithium"&gt;backup&lt;/SPAN&gt; or failure, mail should be sent to Admin group&lt;BR /&gt;&lt;BR /&gt;Can any one suggest a smart &lt;SPAN class="lia-search-match-lithium"&gt;script&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;Thanks﻿&lt;/P&gt;</description>
    <pubDate>Sun, 14 Aug 2011 08:44:29 GMT</pubDate>
    <dc:creator>Mousa55</dc:creator>
    <dc:date>2011-08-14T08:44:29Z</dc:date>
    <item>
      <title>Automate to do system backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-to-do-system-backup/m-p/5299603#M497502</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Required your assistance in &lt;SPAN class="lia-search-match-lithium"&gt;script&lt;/SPAN&gt; &lt;SPAN class="lia-search-match-lithium"&gt;enhancement&lt;/SPAN&gt;, we have more then 100 HP servers and we manage the &lt;SPAN class="lia-search-match-lithium"&gt;backup&lt;/SPAN&gt; from &lt;SPAN class="lia-search-match-lithium"&gt;ignite&lt;/SPAN&gt; server. currently we are backing up manually doing make net recovery﻿. we need to configure in each server in cron job after successfull &lt;SPAN class="lia-search-match-lithium"&gt;backup&lt;/SPAN&gt; or failure, mail should be sent to Admin group&lt;BR /&gt;&lt;BR /&gt;Can any one suggest a smart &lt;SPAN class="lia-search-match-lithium"&gt;script&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;Thanks﻿&lt;/P&gt;</description>
      <pubDate>Sun, 14 Aug 2011 08:44:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automate-to-do-system-backup/m-p/5299603#M497502</guid>
      <dc:creator>Mousa55</dc:creator>
      <dc:date>2011-08-14T08:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Automate to do system backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-to-do-system-backup/m-p/5299769#M497503</link>
      <description>&lt;P&gt;Basically you take what you already have and check the exit status.&amp;nbsp; Do you have it in a script already?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will have to add to your PATH to find make_net_recovery﻿ in cron.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#!/usr/bin/sh&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;make_net_recovery﻿ ...&lt;/P&gt;&lt;P&gt;if [ $? -ne 0 ]; then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; status="ignite backup failed"&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; status="ignite backup succeeded"&lt;/P&gt;&lt;P&gt;fi&lt;/P&gt;&lt;P&gt;echo "$status" | mailx -s "make_net_recovery: $status" admin.group@def.com﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you create your crontab entry to select the time of day and point to the script&lt;/P&gt;&lt;P&gt;30 00 * * * /path_to_script.sh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does it everyday at 0030.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 14:13:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automate-to-do-system-backup/m-p/5299769#M497503</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-08-15T14:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Automate to do system backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-to-do-system-backup/m-p/5300117#M497504</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No, i don't have any script before. i need a&amp;nbsp;script ﻿to take backup automatically and send mail if backup success or failure or&amp;nbsp;success﻿ with warning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is this script ﻿ready to use ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==============&lt;/P&gt;&lt;P&gt;#!/usr/bin/sh&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;make_net_recovery﻿ ...&lt;/P&gt;&lt;P&gt;if [ $? -ne 0 ]; then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; status="ignite backup failed&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; status="ignite backup failed﻿&lt;/P&gt;&lt;P&gt;fi&lt;/P&gt;&lt;P&gt;echo "$status" | mailx -s "make_net_recovery: $status" admin.group@def.com﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you create your crontab entry to select the time of day and point to the script&lt;/P&gt;&lt;P&gt;30 00 * * * /path_to_script.sh&lt;/P&gt;&lt;P&gt;﻿================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your support&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 08:05:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automate-to-do-system-backup/m-p/5300117#M497504</guid>
      <dc:creator>Mousa55</dc:creator>
      <dc:date>2011-08-15T08:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Automate to do system backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-to-do-system-backup/m-p/5300277#M497505</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1076275"&gt;@Mousa55&lt;/a&gt; wrote:&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;BR /&gt;&lt;P&gt;No, i don't have any script before. i need a&amp;nbsp;script ﻿to take backup automatically and send mail if backup success or failure or&amp;nbsp;success﻿ with warning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is this script ﻿ready to use ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And yet your original post said you wanted a "script enhancement".&amp;nbsp; To me, that suggested that you already had *something*.&amp;nbsp;&amp;nbsp; Then, after admitting that you don't you ask "is this script ready to use?" after Dennis offers a simple one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What ever happened to *trying* something?&amp;nbsp; Do you want to learn to fish or to rely on others to feed you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 12:03:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automate-to-do-system-backup/m-p/5300277#M497505</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-08-15T12:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Automate to do system backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-to-do-system-backup/m-p/5300457#M497506</link>
      <description>&lt;P&gt;&amp;gt;is this script ﻿ready to use?﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Oops, I just corrected some syntax errors with status=.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assumed you already know the make_net_recovery﻿ command to plunk into the script fragment.&amp;nbsp; Also you need to augment your PATH to point to the command or use an absolute path.&lt;/P&gt;&lt;P&gt;And any variables you get out of ~/.profile will have to be done by sourcing it in your script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And of course you need to customize the mail parts.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 14:14:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automate-to-do-system-backup/m-p/5300457#M497506</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-08-15T14:14:26Z</dc:date>
    </item>
  </channel>
</rss>

