OCR是CLusterware的重要组件,物理备份自动完成。
下面介绍逻辑备份,很简单。
[root@rac1 oracle]#
[root@rac1 oracle]# ocrconfig -export /u01/app/oracle/hotocr090308
-bash: ocrconfig: command not found
[root@rac1 oracle]#
[root@rac1 oracle]# cd /u01/app/oracle/product/10.2.0/crs_1
[root@rac1 crs_1]# pwd
/u01/app/oracle/product/10.2.0/crs_1
[root@rac1 crs_1]# cd bin
[root@rac1 bin]# ./ocrconfig -export /u01/app/oracle/hotocr090308
[root@rac1 bin]#
[root@rac1 bin]# ls -l /u01/app/oracle
total 104
drwxr-x--- 4 oracle oinstall 4096 Aug 30 2008 admin
drwxr-xr-x 2 oracle oinstall 4096 Aug 30 2008 dmin
-rw-r--r-- 1 root root 85577 Mar 8 10:36 hotocr090308
drwxrwx--- 6 oracle oinstall 4096 Aug 30 2008 oraInventory
drwxr-xr-x 3 oracle oinstall 4096 Aug 30 2008 product
[root@rac1 bin]#
Note: If you try to export OCR while an OCR client is running, then you get an error.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/110321/viewspace-621907/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/110321/viewspace-621907/