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: Confusion why online redo logs should never be backed up.

Re: Confusion why online redo logs should never be backed up.

From: Richard Foote <richard.foote_at_bigpond.com>
Date: Fri, 23 May 2003 01:46:41 -0800
Message-ID: <F001.005A121D.20030523014641@fatcity.com>


Hi Steve,

I have to disagree (but that's cool ;)

If you do a cold backup and someone doesn't shutdown the database properly, how will the online backup help on an important database ? If it's an important database, it should be in archivelog mode in which case the archived logs would be required, not the online logs.

To have the scenario where you have a database that's important enough to warrant backing up and protecting, that's in NOarchivelog mode, that requires a complete restore for recovery, that's not been properly shutdown before a cold backup and hence needs
a backup of the previous online logs is not one I've never come across.

Maybe I'm just lucky ...

If logically there's no need for a backup of online redo logs during a hotbackup, then there's logically no reason for them during a cold backup. If one needs assurance that a cold backup is valid and cleanly shutdown, what assurance does one require that hot backups have been performed correctly ? Or that the online redo log backups are valid for that matter ...

If there was such an important requirement, then why doesn't Oracle's own backup and recovery utility cater for it ?

Cheers

Richard

> I would say the book is wrong. If you are doing a cold backup, and the db
> is not shutdown properly you would need the current log to completely
> recover the instance. Technically the DB should be shutdown properly
before
> backing up. However I am not willing to stake the recoverability of an
> important database on that ASSUMPTION. Backing up the redo logs during a
> cold backup is simply insurance. Since it is easy to do why risk not
doing
> it?
>
> I would add that the above doesn't apply to hot backups. The important
> thing there is to remember to force a log switch after backing up your
> datafiles, so that your archived logs contain all redo that occurred
during
> your online backup.
>
> I should also note that all my backup experience is related to backup
> scripts I wrote myself, and doesn't necessarily extend to the usage of
rman.
>
> Steve McClure
>
> -----Original Message-----
> Rick_Cale_at_teamhealth.com
> Sent: Thursday, May 22, 2003 11:27 AM
> To: Multiple recipients of list ORACLE-L
>
>
>
> Hi All,
>
> In Oracle8i Backup & Recovery Handbook pg 13 it states "Finally, online
> redo log files should never be backed up....So, it is good practice not to
> back up online log files for ANY kind of backup.
>
> Can someone clearly explain why this is recommended?
>
> Thanks
> Rick
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author:
> INET: Rick_Cale_at_teamhealth.com
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> 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).
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Steve McClure
> INET: smcclure_at_usscript.com
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> 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).
>
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Richard Foote
  INET: richard.foote_at_bigpond.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 May 23 2003 - 04:46:41 CDT

Original text of this message

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