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