Saturday, July 16, 2011

Oracle 11g Release 2: OCR Logical Backup/Restore

In Oracle 11g Release 2, we can take a logical backup of OCR and do the restoration as well if needed.

Below is the command that will help you out to take logical backup of OCR.
ocrconfig -export /filelocation/exp_ocr.bak
At any point of time if you are needed to restore the OCR below is the steps that you can use.

  1. crsctl stop cluster -all
  2. crsctl stop crs
  3. ocrconfig -import /filelocation/exp_ocr.bak
  4. crsctl start crs
  5. cluvfy comp ocr -n all
Please feel free to provide your comments if you need any more help

No comments:

Post a Comment