You must run this command as root
.
If the OCR backup file is located in an Oracle ASM disk group, then ensure that the disk group exists and is mounted.
Before running this command, ensure that the original OCR or OLR files exist. If the original file does not exist, then you must create an empty file.
Note:
You cannot use a file generated by the ocrconfig -export
to restore OCR. The file must be a manual or automatic backup.
Use the -local
option to restore a backup of OLR.
Example file names are:
/oradbocfs/crs/BACKUP00.ocr
d:\oracle\BACKUP01.ocr
+bkupdg:/aimev1/ocrbackup/day.ocr.260.739756845
If OCR is located on an Oracle ASM disk group, then ensure that the disk group exists and is mounted.