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: Hot Backup Theory Revested:

RE: Hot Backup Theory Revested:

From: Riyaj Shamsudeen <rshamsud_at_jcpenney.com>
Date: Thu, 24 Jun 2004 08:19:44 -0500
Message-id: <001301c459ed$ea5ef770$212f200a@rshamsudxp>


Hi

        As long as, the archive log files have begin backup marker and end backup marker for all the data files, you can restore the backup of those data files and recover them, at least, until the end of backup marker, just using these archive log files. You should not require archive log files generated before the begin backup command.

	How and when do you backup and restore the control file ?
	I think, somehow you are missing the archive log file that has
begin backup marker or your control file strategy is not in sync with data file backups. Next time you have an issue you might want to dump the archivelog files to the trace directory (beware, trace file can be quite large) and look for backup marker. Alternatively, you can also query the v$datafile_header to find the scn associated with the data file header and find the log sequence that encompasses this SCN range.

        In the script, I would try switching the log file before your step 1, find the sequence associated with that current log group and use that information to backup that archivelog file also.         

Thanks
Riyaj "Re-yas" Shamsudeen
Certified Oracle DBA

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Hodgkinson, Stephen Sent: Thursday, June 24, 2004 3:47 AM
To: oracle-l_at_freelists.org
Subject: FW: Hot Backup Theory Revested:

> Can somebody give me there opinion on the below - either yes this can
> happen or no this is impossible you must have a mistake elsewhere.
>
> /****************************************************
>
> I have an automated script that backups my database, ftp's it to a
> test server and rebuild it each night.
>
> This process works 95 % of the time.
>
> Occasionally the restore of the database fails as it asks for an
> archive log before the backup process began.
>
> My backup is something like this:
>
> 1) ALTER SYSTEM ARCHIVE LOG CURRENT
> 2) Start Begin and End Backups and copies of all tablespaces.
> 3) ALTER SYSTEM ARCHIVE LOG CURRENT
> 4) CopyArchivedRedoLogs (From the time of step1 to tep 4)
>
> So my question is do you ever require the archive logs that are
> generated before the first begin backup e.g. Maybe for a long running
> transaction that spans redo logs.
>
> I tried executing step 1) four times but I Didn't really expect it
to
> help - and it didn't
>
> Please don't suggest using RMAN - we will use it soon.
>
> I known you generally would want all you archive logs and we do have
> this it is just an automation issue I am trying to resolve.
>
> If you believe what I am suggesting is impossible please let me known
> and the next time it happens I will investigate it 100 % rather than
> just manually ftp over the old archive log.
>
> Thanks in advance.
>
>
>


Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------



-- Attached file included as plaintext by Ecartis --
-- Desc: Signature

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  If the reader of this message is not the intended recipient,
you are hereby notified that your access is unauthorized, and any review,
dissemination, distribution or copying of this message including any
attachments is strictly prohibited.   If you are not the intended
recipient, please contact the sender and delete the material from any
computer.


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Thu Jun 24 2004 - 08:16:51 CDT

Original text of this message

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