<?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 Cold backup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175759#M794151</link>
    <description>can I take cold backup by RMAN 9i&lt;BR /&gt;If yes How ?</description>
    <pubDate>Tue, 27 Jan 2004 17:33:20 GMT</pubDate>
    <dc:creator>Asif_8</dc:creator>
    <dc:date>2004-01-27T17:33:20Z</dc:date>
    <item>
      <title>Cold backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175759#M794151</link>
      <description>can I take cold backup by RMAN 9i&lt;BR /&gt;If yes How ?</description>
      <pubDate>Tue, 27 Jan 2004 17:33:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175759#M794151</guid>
      <dc:creator>Asif_8</dc:creator>
      <dc:date>2004-01-27T17:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cold backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175760#M794152</link>
      <description>RMAN is generally used for hot backups of your oracle database.  If you want to do a cold backup, a backup with the Oracle DB shut down, then I would just use whatever your normal backup software is (fbackup, OmniBack, Data Protector, etc.) and backup the file systems that contain your oracle data files.</description>
      <pubDate>Tue, 27 Jan 2004 17:36:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175760#M794152</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-01-27T17:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cold backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175761#M794153</link>
      <description>You may be interested in a kind of simulated cold backup (I don't know what else to call it, help?).  I've heard RMAN is difficult to set up and consumes much disk space.&lt;BR /&gt;&lt;BR /&gt;The solutions is a new command introduced in 8i.  I use "alter system suspend"/"alter system resume" to get a cold backup.  &lt;BR /&gt;&lt;BR /&gt;Using EMC TimeFinder, roughly speaking, I sync the BCV set and wait until done, put all tablespaces into backup mode, alter system suspend, split the bcvs, alter system resume, remove all tablespaces from backup mode, then mount the BCVs (on another system, could be on the same system) and run a cold backup using my normal backup software.&lt;BR /&gt;&lt;BR /&gt;There is no application downtime and it seems to be a perfectly acceptable cold backup.&lt;BR /&gt;&lt;BR /&gt;Mic</description>
      <pubDate>Tue, 27 Jan 2004 17:55:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175761#M794153</guid>
      <dc:creator>Mic V.</dc:creator>
      <dc:date>2004-01-27T17:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cold backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175762#M794154</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;Why do you want to take a cold backup?&lt;BR /&gt;&lt;BR /&gt;When you take a cold backup, you achieve the following:&lt;BR /&gt;&lt;BR /&gt;o you will cause downtime (the database will be shutdown)&lt;BR /&gt;&lt;BR /&gt;o you will empty the buffer cache, causing us to refill it every day, incurring more work every day.&lt;BR /&gt;&lt;BR /&gt;o you will empty the shared pool, causing us to reparse the entire set of queries every day, day in -- day out.&lt;BR /&gt;&lt;BR /&gt;o you will most likely do an unattended shutdown and startup in order to do this cold backup.  cold backup typically implies unattended shutdown/startup&lt;BR /&gt;&lt;BR /&gt;But if you really want to do it, you can!&lt;BR /&gt;below the demo script:&lt;BR /&gt;B_ClosedDB.rcv - Backup Closed Database (cold backup): &lt;BR /&gt;------------------------------------------------------------------------------ &lt;BR /&gt;shutdown immediate; &lt;BR /&gt;startup mount pfile=/beta/app/oracle/product/817_B/dbs/initM817.ora &lt;BR /&gt; &lt;BR /&gt;run { &lt;BR /&gt;set command id to 'RMAN'; &lt;BR /&gt;allocate channel d1 type disk; &lt;BR /&gt;allocate channel d2 type disk; &lt;BR /&gt;setlimit channel d1 kbytes 2097150; &lt;BR /&gt;setlimit channel d2 kbytes 2097150; &lt;BR /&gt;backup full format '/beta/home/marrocha/backup/df_%U' database; &lt;BR /&gt;backup &lt;BR /&gt;filesperset 10 &lt;BR /&gt;format '/beta/home/marrocha/backup/arc_%U' &lt;BR /&gt;archivelog all delete input; &lt;BR /&gt;} &lt;BR /&gt; &lt;BR /&gt;shutdown; &lt;BR /&gt;startup pfile=/beta/app/oracle/product/817_B/dbs/initM817.ora &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;=======================================&lt;BR /&gt;hope this helps!&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Jan 2004 23:33:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175762#M794154</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-01-27T23:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cold backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175763#M794155</link>
      <description>Hi Asif,&lt;BR /&gt;&lt;BR /&gt;RMAN is meant mainly for online backup.&lt;BR /&gt;&lt;BR /&gt;For cold backup, you can simply shutdown Oracle 9i and take the filesystem backup through any backup utility.&lt;BR /&gt;&lt;BR /&gt;HTH,</description>
      <pubDate>Wed, 28 Jan 2004 00:44:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175763#M794155</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2004-01-28T00:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cold backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175764#M794156</link>
      <description>RMAN is a specialized backup utility from ORacle.You can do anything with RMAN related to backup and recovery of the Oracle database.&lt;BR /&gt;&lt;BR /&gt;To take a cold backup,you can either use the copy command of RMAN or the cp command of OS.&lt;BR /&gt;&lt;BR /&gt;check the doc of RMAN which can help u.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.csee.umbc.edu/help/oracle8/server.815/a67773/rmanconc.htm#440395" target="_blank"&gt;http://www.csee.umbc.edu/help/oracle8/server.815/a67773/rmanconc.htm#440395&lt;/A&gt;</description>
      <pubDate>Wed, 28 Jan 2004 00:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175764#M794156</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-01-28T00:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cold backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175765#M794157</link>
      <description>Asif, &lt;BR /&gt;&lt;BR /&gt;To answer your question, you can perform an offline backup of the database with rman.  The following is a basic idea, with all of the commands being run from the rman utility (or inside of Omniback):&lt;BR /&gt;&lt;BR /&gt;-------&lt;BR /&gt;shutdown abort;&lt;BR /&gt;startup restrict;&lt;BR /&gt;shutdown immediate;&lt;BR /&gt;startup mount;&lt;BR /&gt;run {&lt;BR /&gt;allocate channel t1 type 'sbt_tape';&lt;BR /&gt;allocate channel t2 type 'sbt_tape';&lt;BR /&gt;&lt;BR /&gt;backup database including current controlfile;&lt;BR /&gt;}&lt;BR /&gt;alter database open;&lt;BR /&gt;-------&lt;BR /&gt;&lt;BR /&gt;The database MUST be mounted, but the database cannot be opened for this to work (hence the shutdowns).  You should always make sure that the database is down in a consistant state by issuing a normal 'shutdown' or 'shutdown immediate', but not a 'shutdown abort'.  &lt;BR /&gt;&lt;BR /&gt;Let me know if you have any questions.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Wed, 28 Jan 2004 04:20:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175765#M794157</guid>
      <dc:creator>Brian Crabtree</dc:creator>
      <dc:date>2004-01-28T04:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cold backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175766#M794158</link>
      <description>thanks all of them&lt;BR /&gt;&lt;BR /&gt;If you take the cold back from rman, restore the cold also rman or OS level&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jan 2004 14:51:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175766#M794158</guid>
      <dc:creator>Asif_8</dc:creator>
      <dc:date>2004-01-28T14:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cold backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175767#M794159</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;shutdown abort;&lt;BR /&gt;startup restrict;&lt;BR /&gt;shutdown immediate;&lt;BR /&gt;&lt;BR /&gt;this is a bit confusing to me. You say, don't use abort and what is this? &lt;BR /&gt;&lt;BR /&gt;Afif, if you use rman to back it up than you will have to use rman to restore it.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jan 2004 16:26:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175767#M794159</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-01-28T16:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cold backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175768#M794160</link>
      <description>Michael,&lt;BR /&gt;&lt;BR /&gt;Sorry, I will explain more.  &lt;BR /&gt;&lt;BR /&gt;'shutdown abort' causes the database to kill off all processes without trying to recover the sessions currently running.  So any updates/inserts/deletes that are running have updated blocks in the database without committing the current transaction.  This is called an inconsistant state.  &lt;BR /&gt;&lt;BR /&gt;'shutdown immediate' sends a notification to sessions that the database is going to be shutdown, and processes are forced to stop processing after completing the current transaction occuring.  Once the sessions have stopped running, the database begins cleaning up the tablespaces for free extents, completes all checkpoints, and closes the database in a consistant state.  &lt;BR /&gt;&lt;BR /&gt;One of the problems that can occur is that a user or database process will hang.  This causes 'shutdown' and 'shutdown immediate' to wait for the process to exit before proceeding, which will never happen.  An easy workaround for this is to issue a 'shutdown abort', which disconnects all processes, in case some of them are hanging or long-running.  You then MUST issue a startup of some kind, which will open the database ('startup restrict' or 'startup force dba' will bring the database up in a mode that disallows normal users from accessing the database).  The next step after opening is to run through the online redo logs and rollback segments with a crash recovery routine.  This will make sure that all database blocks are consistant and correct.  &lt;BR /&gt;&lt;BR /&gt;Once the crash recovery is complete, the database can be issued another 'shutdown' command, which will close the database in a consistant state, and the backup can be run.  &lt;BR /&gt;&lt;BR /&gt;I hope this answers your question.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;brian</description>
      <pubDate>Wed, 28 Jan 2004 17:53:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175768#M794160</guid>
      <dc:creator>Brian Crabtree</dc:creator>
      <dc:date>2004-01-28T17:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cold backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175769#M794161</link>
      <description>Shutdown abort may be a bit harsh. It kills the server and could possibly cause the need for a recovery on re-start. (Rolling changes forward from the redo logs)&lt;BR /&gt;&lt;BR /&gt;shutdown immediate is gentler and kinder and allows the transactions to finish before shutting down. It checkpoints the database and avoids the need for recovery. &lt;BR /&gt;&lt;BR /&gt;Call it supersitious behavior, but I like to be nice to my server in hopes that it will be nice to me. ;-)&lt;BR /&gt;&lt;BR /&gt;As already pointed out, shutting down your database will interupt production. Also, note that you cannot do a hot backup unless your database is in archivelog mode. Archive log mode has saved me from all sorts of heartburn.</description>
      <pubDate>Thu, 29 Jan 2004 09:38:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cold-backup/m-p/3175769#M794161</guid>
      <dc:creator>R. Allan Hicks</dc:creator>
      <dc:date>2004-01-29T09:38:25Z</dc:date>
    </item>
  </channel>
</rss>

