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: RMAN validate

Re: RMAN validate

From: <ryan_gaffuri_at_comcast.net>
Date: Fri, 09 Mar 2007 14:03:43 +0000
Message-Id: <030920071403.22463.45F1693F0002CA9A000057BF2205886360079D9A00000E09A1020E979D@comcast.net>


I didn't see in the docs that you get a failure exit status from validate? I thought it was just a report.

that makes things alot easier. Thanks.

> } There are lots of examples of successful validate outputs.
> } Does anyone have an example of a failure or preferably some keywords
> } that are in an output of a validate that fails?
> } I need something to grep for so I can send out an email if a validate
> fails.
>
>
> You could use the exit status.
>
>
> Dimitre
>
> P.S. This is with bash:
>
> rman < <(printf "connect target\nrestore validate database;\n") &>- ||
> printf "Failed\n"
>
> --
> http://www.freelists.org/webpage/oracle-l
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Mar 09 2007 - 08:03:43 CST

Original text of this message

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