Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Why control files are needed for restore of hot backup?
"Sean M" <smckeownNO_at_BACKSIESearthlink.net> wrote in message
news:3CEC0588.B1F94A00_at_BACKSIESearthlink.net...
> Sybrand Bakker wrote:
> >
> > On 21 May 2002 17:48:29 -0700, danielroy10_at_hotmail.com (Daniel Roy)
> > wrote:
> >
> > >Hi everyone,
> > > I have a question which will probably look obvious to many, but I'm
> > >just starting with Oracle! If I take a hot backup of a database, using
> > >for each tablespace:
> > >- alter tablespace bla-bla begin backup
> > >- I copy the tablespace datafiles to the backup directory
> > >- alter tablespace bla-bla end backup
> > >
> > >I also include in my backup the archive logs generated during the
> > >backup.
> > >Now my question is if the datafile structure of the database doesn't
> > >change, do I really need the control file to also be backed up? It
> > >seems to me that at recovery time, re-creating the control files
> > >should be the same result than using a control file from during the
> > >backup. My feeling is that in both cases, Oracle relies exclusively on
> > >the SCN's of the datafile headers in order to decide which datafile
> > >needs recovery, and which one doesn't.
> > >
> > >Daniel
> >
> > Study the difference between *complete* recovery (all files present)
> > and *incomplete* recovery (backup controlfile) and don't try to be
> > 'smart'. During *complete* recovery Oracle compares the SCNs in the
> > controlfile and the datafiles.
> >
>
>
>
Your scenario would still constitute *manual/point in time* recovery as
opposed to *complete* automatic recovery.
You say there isn't a difference between the two methods of recovery? With
all archived redolog files and the controlfile being present, what would
happen?
In your scenario you would have at least to press <ENTER> for every
individual archive.
If you want to nit pick next time, make sure you're better prepared.
Regards
-- Sybrand Bakker Senior Oracle DBA to reply remove '-verwijderdit' from my e-mail addressReceived on Wed May 22 2002 - 17:03:31 CDT
![]() |
![]() |