Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: RMAN validate
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-lReceived on Fri Mar 09 2007 - 08:03:43 CST
![]() |
![]() |