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

Home -> Community -> Usenet -> c.d.o.server -> Re: recover database using backup controlfile;

Re: recover database using backup controlfile;

From: Sybrand Bakker <gooiditweg_at_sybrandb.nospam.demon.nl>
Date: Fri, 19 Dec 2003 21:03:33 +0100
Message-ID: <gbm6uvsd7hvon9e2umpd7mu1l2nk59s8v7@4ax.com>


On 19 Dec 2003 05:56:23 -0800, rlmaier_at_ingr.com (Reid L Maier) wrote:

>I'm trying to do some automation by placing a set of Oracle commands
>into a DOS batch file. The "recover database using backup
>controlfile;" statement generates a prompt asking for the name of a
>logfile. Provided I know the name of the logfile, is there a way to
>prevent the prompt? Perhaps I can set an internal variable with the
>known logfile name and have the statement execute without the prompt?
>
>Any help is appreciated.
>
>Reid

set autorecovery on
However if the file isn't there the procedure will still prompt you for the file.

--
Sybrand Bakker, Senior Oracle DBA
Received on Fri Dec 19 2003 - 14:03:33 CST

Original text of this message

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