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: Saving Backup Errros inside the db

RE: Saving Backup Errros inside the db

From: Johnson, George <GJohnson_at_GAM.COM>
Date: 2005-12-28 10:33:23
Message-id: 0A0E50CC00E3DB41A1B41739B9BD31C6366BD7@MSAS-LDN90P.global.gam.com

        I was under the impression that this was already stored or is that only under 10g and \ with central catalog? I just remember reading something about this in a tech doc \ somewhere.

        Rgds

-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On \ Behalf Of Grant Allen
Sent: 28 Dec 2005 7:34
To: bnsarma_at_gmail.com
Cc: lazydba
Subject: Re: Saving Backup Errros inside the db

BN wrote:

> Greetings,
>
> I would like to save the following RMAN error messages inside a table
> along with the timestamp
>
> RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
>

[snip]

> Can somebody suggest me how I can do this. I want to save the new
> lines, as they appear in the error message.
>
> Am I looking at a CLOB or do I have other options.

BN - others are already suggesting the post-backup shell script, but you do have options other than CLOB. You can save the new lines with some easy regex work and the ever-useful chr(10) or chr(13)||chr(10) trick (depending on your OS). This means you can opt for char or varchar2, which you might find *much* easier to use in the long run.

Ciao
Fuzzy
:-)

--
http://www.freelists.org/webpage/oracle-l



****************************************************************************
This message contains confidential information and is intended only 
for the individual or entity named.  If you are not the named addressee
you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received 
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed, arrive
late or incomplete, or contain viruses.  The sender therefore does not
accept liability for any errors or omissions in the contents of this 
message which arise as a result of e-mail transmission.  
If verification is required please request a hard-copy version.
This message is provided for informational purposes and should not
be construed as an invitation or offer to buy or sell any securities or
related financial instruments.
GAM operates in many jurisdictions and is 
regulated or licensed in those jurisdictions as required.
****************************************************************************

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Dec 28 2005 - 10:33:23 CST

Original text of this message

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