In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Backup and recovery of OCR
Method 1: (equivalent to physical backup)
Oracle backs up ocr every hour. The default path for automatic backup is: $GRID_HOME/cdata/.
View backups:
[root @ rac1 ~] # / oracle/grid/crs_1/bin/ocrconfig-showbackup
View the location of backup files (automatic backup, manual backup) (on that node, under that path)
Manually trigger OCR automatic backup:
[root @ rac1 ~] # / oracle/grid/crs_1/bin/ocrconfig-manualbackup
Rac2 2020-07-23 09:54:19 / oracle/grid/crs_1/cdata/rac-cluster/backup_20200723_095419.ocr
Rac1 2020-07-23 09:26:31 / oracle/grid/crs_1/cdata/rac-cluster/backup_20200723_092631.ocr
Restore:
[root @ rac1 ~] # / oracle/grid/crs_1/bin/ocrconfig-restore file_name
Dump to view OCR information:
[root @ rac1 ~] #
/ oracle/grid/crs_1/bin/ocrdump-backupfile / oracle/grid/crs_1/cdata/rac-cluster/backup_20200723_092631.ocr
(an OCRDUMPFILE is generated under the current path)
[root @ rac1 ~] # more OCRDUMPFILE
Method 2: (equivalent to logical backup)
Export:
[root @ rac1 ~] # / oracle/grid/crs_1/bin/ocrconfig-export / tmp/ocr.bak
Import:
[root @ rac1 ~] # / oracle/grid/crs_1/bin/ocrconfig-import / tmp/ocr.bak
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.