Re: RMAN validate

  • From: "Radoulov, Dimitre" <cichomitiko@xxxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 9 Mar 2007 12:03:13 +0100

} 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"
--
//www.freelists.org/webpage/oracle-l


Other related posts: