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: Radoulov, Dimitre <cichomitiko_at_gmail.com>
Date: Fri, 9 Mar 2007 12:03:13 +0100
Message-ID: <01b601c7623a$c06fdc10$1803310a@ETP6320>


} 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
Received on Fri Mar 09 2007 - 05:03:13 CST

Original text of this message

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