oracle_grid_sa_br_ocrbackup

Overview

Backup of the OCR can be done by either:

  1. Manual Backup
  2. Export

The manual backup can be performed via the following command:

[root@lparaca install]# ocrconfig -manualbackup

lparaca     2018/01/23 03:51:00     +DATA:/lparac-scan/OCRBACKUP/backup_20180123_035100.ocr.297.966138661     0

lparaca     2018/01/21 14:01:51     +DATA:/lparac-scan/OCRBACKUP/backup_20180121_140151.ocr.291.966002513     0
[root@lparaca install]#

The status/list of all backups can be displayed as follows:

[root@lparaca install]# ocrconfig -showbackup

lparacb     2018/01/22 15:10:50     +DATA:/lparac-scan/OCRBACKUP/backup00.ocr.296.966093047     0

lparacb     2018/01/22 11:10:45     +DATA:/lparac-scan/OCRBACKUP/backup01.ocr.295.966078639     0

lparacb     2018/01/22 07:10:36     +DATA:/lparac-scan/OCRBACKUP/backup02.ocr.292.966064231     0

lparacb     2018/01/22 07:10:36     +DATA:/lparac-scan/OCRBACKUP/day.ocr.293.966064237     0

lparacb     2018/01/22 07:10:36     +DATA:/lparac-scan/OCRBACKUP/week.ocr.294.966064239     0

lparaca     2018/01/23 03:51:00     +DATA:/lparac-scan/OCRBACKUP/backup_20180123_035100.ocr.297.966138661     0

lparaca     2018/01/21 14:01:51     +DATA:/lparac-scan/OCRBACKUP/backup_20180121_140151.ocr.291.966002513     0
[root@lparaca install]#

The export, exports only the metadata, but cannot recreate them. Exports should be done before any major change, such as adding / removing of a node.

[root@lparaca install]# ocrconfig -export /tmp/ocr.exp
PROT-58: successfully exported the Oracle Cluster Registry contents to file '/tmp/ocr.exp'



Usually, backup are done automatically by the GridInfra itself, however is never bad to perform your own.

From 11gR2, the voting disk is backed up with the OCR backup. Keep in mind that if you have <11gR2 cluster you have to use “dd” to backup the voting disk:

  • oracle_grid_sa_br_ocrbackup.txt
  • Last modified: 2019/10/18 20:04
  • by 127.0.0.1