You must run this command as root.
Use the -local option to specify an OLR backup directory location.
The file_name variable can be a full directory path name that is accessible by all nodes. For an OCR backup location, the file_name variable can also be an Oracle ASM disk group. For example:
Grid_home/cdata/cluster3/: Ensure that the location exists
d:\cdata\cluster3: Ensure that the location exists
+bkupdg: Ensure that the Oracle ASM disk group exists and is mounted on all nodes
If you specify an Oracle ASM disk group, then ensure that the name of the disk group is preceded by a plus sign (+).
Using an Oracle ASM disk group as a backup location is only supported for OCR.
You must migrate OCR to Oracle ASM before changing the OCR backup location to an Oracle ASM disk group.
You can change the OCR backup location to an Oracle ASM disk group only if there is at least one Oracle ASM OCR location in a separate disk group.
The default location for generating OCR backups on Linux or UNIX systems is Grid_home/cdata/cluster_name, where cluster_name is the name of your cluster. The Windows default location for generating OCR backups uses the same path structure.
The default location for generating OLR backups on Linux or UNIX systems is Grid_home/cdata/host_name, where host_name is the name of the node on which the OLR resides that you want to back up. The Windows default location for generating OLR backups uses the same path structure.