Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: shutdown for backup : pro's and con's

RE: shutdown for backup : pro's and con's

From: Janardhana Babu <jbdonga_at_ucdavis.edu>
Date: Fri, 8 Dec 2000 11:42:23 -0800
Message-Id: <10704.124104@fatcity.com>


What about ...
SHUTDOWN IMMEDIATE
Wait/pause for 15 minutes..
If the DB STATUS is -1 or hung then

   SHUTDOWN ABORT
   STARTUP RESTRICT
   SHUTDOWN NORMAL
else

   nothing
end if;

-----Original Message-----
From: Joseph S. Testa [mailto:teci_at_oracle-dba.com] Sent: Friday, December 08, 2000 5:47 AM
To: Multiple recipients of list ORACLE-L Subject: Re: shutdown for backup : pro's and con's

how about a variation on a theme,
alter system checkpoint
SHUTDOWN ABORT
STARTUP RESTRICT
SHUTDOWN NORMAL
<BACKUP>

joe

thats that i use in a non0terminal based script.

Pat Howe - Contractor wrote:
>
> I would like to be convinced one way or the other on the following issue :
> What is the best way to take a database down for a cold backup ?
>
> SHUTDOWN ABORT
> STARTUP RESTRICT
> SHUTDOWN NORMAL
> <BACKUP>
>
>

-- 
Joe Testa  http://www.oracle-dba.com
No you can't fix an ORA-600 error, call Oracle Support.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Joseph S. Testa
  INET: teci_at_oracle-dba.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Dec 08 2000 - 13:42:23 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US