Previous |
Next |
Use the ocrconfig
utility to force Oracle Clusterware to perform a backup of OCR at any time, rather than wait for the automatic backup that occurs at 4-hour intervals. This option is especially useful when you want to obtain a binary backup on demand, such as before you make changes to OCR.
To manually backup the contents of the OCR:
Log in as the root
user.
Use the following command to force Oracle Clusterware to perform an immediate backup of the OCR:
ocrconfig -manualbackup
The default location for generating backups on Oracle Enterprise Linux systems is Grid_home
/cdata/
cluster_name
where cluster_name
is the name of your cluster and Grid_home is the home directory of your Oracle Grid Infrastructure software. Because the default backup is on a local file system, Oracle recommends that you include the backup file created with the ocrconfig command as part of your operating system backup using standard operating system or third-party tools.
Tip: You can use the ocrconfig -backuploc
command to move the location where the OCR backups are created