<?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: COLD BACKUP in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917189#M285461</link>
    <description>&lt;A href="http://forum.java.sun.com/index.jspa?tab=solaris" target="_blank"&gt;http://forum.java.sun.com/index.jspa?tab=solaris&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Be prepared to explain what you mean by "it&lt;BR /&gt;doesnot understand OS cp command".&lt;BR /&gt;&lt;BR /&gt;Also, attaching the actual script might&lt;BR /&gt;reveal if you made a simple error like&lt;BR /&gt;having white space before "EOF".</description>
    <pubDate>Sat, 23 Dec 2006 11:10:01 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2006-12-23T11:10:01Z</dc:date>
    <item>
      <title>COLD BACKUP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917188#M285460</link>
      <description>Hi guys my OS is SunOS 5.10.&lt;BR /&gt;I am tring to create cold backup script.&lt;BR /&gt;this is my script.&lt;BR /&gt;&lt;BR /&gt; 1  dt=`date "+%d%m%c%y"`&lt;BR /&gt; 2  echo "\nSHUTDOWN DATABASE at " `date`&lt;BR /&gt; 3  sqlplus "/as sysdba" &amp;lt;&lt;EOF&gt;&lt;/EOF&gt; 4  shutdown immediate&lt;BR /&gt; 5  exit;&lt;BR /&gt; 6  EOF&lt;BR /&gt; 7  echo "\Copying files to backup directory" `date`&lt;BR /&gt; 8  cp /oradata/RFID/*.dbf /oradata/cold_bkp/&lt;BR /&gt; 9  cp /oradata/RFID/*.ctl /oradata/cold_bkp/&lt;BR /&gt;10  cp /oradata/RFID/*.log /oradata/cold_bkp/&lt;BR /&gt;11  sqlplus "/as sysdba"&amp;lt;&lt;EOF2&gt;&lt;/EOF2&gt;12  startup&lt;BR /&gt;13  exit&lt;BR /&gt;14  EOF2&lt;BR /&gt;but after line 6 it stops executing the momoent it comes out of sqlplus it doesnot understand OS cp command.( These line number i have put for ur understanding it doesnot exist in scripts).&lt;BR /&gt;so it doesnot copy my dbf,ctl and logfiles to backup dirctory.&lt;BR /&gt;Need Help&lt;BR /&gt;Regards&lt;BR /&gt;Musaddaq&lt;BR /&gt;</description>
      <pubDate>Sat, 23 Dec 2006 09:40:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917188#M285460</guid>
      <dc:creator>crontab is not running</dc:creator>
      <dc:date>2006-12-23T09:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: COLD BACKUP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917189#M285461</link>
      <description>&lt;A href="http://forum.java.sun.com/index.jspa?tab=solaris" target="_blank"&gt;http://forum.java.sun.com/index.jspa?tab=solaris&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Be prepared to explain what you mean by "it&lt;BR /&gt;doesnot understand OS cp command".&lt;BR /&gt;&lt;BR /&gt;Also, attaching the actual script might&lt;BR /&gt;reveal if you made a simple error like&lt;BR /&gt;having white space before "EOF".</description>
      <pubDate>Sat, 23 Dec 2006 11:10:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917189#M285461</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-12-23T11:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: COLD BACKUP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917190#M285462</link>
      <description>Bingo&lt;BR /&gt;That's it man. The space was the problem.&lt;BR /&gt;Thanks &lt;BR /&gt;Musaddaq</description>
      <pubDate>Sun, 24 Dec 2006 00:24:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917190#M285462</guid>
      <dc:creator>crontab is not running</dc:creator>
      <dc:date>2006-12-24T00:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: COLD BACKUP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917191#M285463</link>
      <description>Nice-looking indentation is, in general,&lt;BR /&gt;incompatible with a "here document".  (It's&lt;BR /&gt;not a bug, it's a feature.)</description>
      <pubDate>Sun, 24 Dec 2006 00:36:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917191#M285463</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-12-24T00:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: COLD BACKUP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917192#M285464</link>
      <description>Hi Musaddaq,&lt;BR /&gt;Are you sure that your "oracle" closed&lt;BR /&gt;before starting cp???&lt;BR /&gt;so it would be nice to check if any oracle&lt;BR /&gt;process exist or not BEFORE starting cp&lt;BR /&gt;&lt;BR /&gt;Good Luck,</description>
      <pubDate>Mon, 25 Dec 2006 10:12:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917192#M285464</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2006-12-25T10:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: COLD BACKUP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917193#M285465</link>
      <description>Hi Cem&lt;BR /&gt;Its showing me that database is having a clean Shutdown. But if u have some Suggestions please Do let me know.&lt;BR /&gt;Regards&lt;BR /&gt;Musaddaq</description>
      <pubDate>Tue, 26 Dec 2006 00:26:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917193#M285465</guid>
      <dc:creator>crontab is not running</dc:creator>
      <dc:date>2006-12-26T00:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: COLD BACKUP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917194#M285466</link>
      <description>Hello Musaddaq,&lt;BR /&gt;Here is a small part of my BaaN Erp+Oracle Db&lt;BR /&gt;for to take offline scheduled backup script over omniback &lt;BR /&gt;#&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;if [ `ps -ef|egrep -i ora_|grep -v rman|grep -v grep|wc -l` -ne 0 ]&lt;BR /&gt;       then&lt;BR /&gt;          echo "ORACLE(baan01) is still active!!!"&lt;BR /&gt;       exit 1&lt;BR /&gt;       else&lt;BR /&gt;          echo "Oracle(baan01) is successfully closed!!!"&lt;BR /&gt;          su - ${ORACLE_USER} -c "${ORACLE_HOME}/bin/lsnrctl stop"&lt;BR /&gt;&lt;BR /&gt;so i do not have any experience about Sun&lt;BR /&gt;but i guess you can use "ps -ef" for to check oracle daemons exist or not&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Dec 2006 01:38:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917194#M285466</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2006-12-26T01:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: COLD BACKUP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917195#M285467</link>
      <description>hi Musaddaq!&lt;BR /&gt;&lt;BR /&gt;if the logs are showing a clean shutdown, this should not be a problem. &lt;BR /&gt;&lt;BR /&gt;You can also do a ps -ef|grep &lt;ORACLE user=""&gt;|grep -i oracle&lt;SID&gt; to determine if any oracle processes are still running.&lt;BR /&gt;&lt;BR /&gt;still, the only way to verify that the backup is OK, is to recover from it and see if the database starts properly.&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;/SID&gt;&lt;/ORACLE&gt;</description>
      <pubDate>Tue, 26 Dec 2006 01:45:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917195#M285467</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-12-26T01:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: COLD BACKUP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917196#M285468</link>
      <description>Thanks Cem &lt;BR /&gt;I will include that in my script.&lt;BR /&gt;Thanks for the info once again&lt;BR /&gt;Regards&lt;BR /&gt;Musaddaq</description>
      <pubDate>Tue, 26 Dec 2006 01:45:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3917196#M285468</guid>
      <dc:creator>crontab is not running</dc:creator>
      <dc:date>2006-12-26T01:45:54Z</dc:date>
    </item>
  </channel>
</rss>

