How to take OCR backup on 11.2.0.4

How to take OCR backup on 11.2.0.4

1. Overview

11g Release 2 on wards voting disk data is automatically backed up in the OCR whenever there is a configuration change.
No need to take voting disk backup separately, OCR backup will contain both OCR and Voting data. We can restore voting disk using OCR backup.

OCR BACKUP

Automatic backups :

a) CRSD automatically creates OCR backups every 4 hours.
b) Each full day.
c) End of each week.
d) Retains the last three copies of OCR.

Manual backups:

a) can be taken using the "ocrconfig -manualbackup" command

2. Show Backup

All Backups

[root@rac1 ~]# ocrconfig -showbackup
PROT-24: Auto backups for the Oracle Cluster Registry are not available

rac1     2018/11/03 08:10:12     /u01/app/11.2.0.4/grid/cdata/rac-scan/backup_20181103_081012.ocr
[root@rac1 ~]#

Auto Backups

[root@rac1 ~]# ocrconfig -showbackup auto

Manual Backups

[root@rac1 ~]# ocrconfig -showbackup manual

rac1     2018/11/03 08:10:12     /u01/app/11.2.0.4/grid/cdata/rac-scan/backup_20181103_081012.ocr
[root@rac1 ~]#

3. Take OCR backup manually

[root@rac1 ~]# ocrconfig -manualbackup

rac1     2018/11/03 08:30:42     /u01/app/11.2.0.4/grid/cdata/rac-scan/backup_20181103_083042.ocr  <------

rac1     2018/11/03 08:10:12     /u01/app/11.2.0.4/grid/cdata/rac-scan/backup_20181103_081012.ocr
[root@rac1 ~]#

Caution: Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.

Thank you,
Rajasekhar Amudala
Email: br8dba@gmail.com