




下載本文檔
版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、1. 備份數(shù)據(jù)庫(kù)進(jìn)入T-code DB13備份在線數(shù)據(jù)庫(kù)去DB12可以看進(jìn)度查看日志這是成功了2備份數(shù)據(jù)庫(kù)歸檔文件執(zhí)行DB13的TCODE,創(chuàng)建計(jì)劃,設(shè)定計(jì)劃時(shí)間,選擇redolog backup. 利用命令備份:brarchive -u / -c force -p initPRD.sap -sdZzxc報(bào)錯(cuò),說(shuō)Function中寫(xiě)的BRARCHIVE出錯(cuò)了,所以這里要用 -sd這樣就可以了,去DB14中查看日志備份狀態(tài)成功了備份更改路徑3SAP數(shù)據(jù)恢復(fù)在運(yùn)行中輸入sqlplus /nolog打開(kāi)cmd界面,登陸oracleWindows切換為devadm用戶登錄關(guān)閉數(shù)據(jù)庫(kù)服務(wù)Linux下備份
2、數(shù)據(jù)庫(kù)使用rdvadm用戶登錄用chmod R 777 /oracle 給權(quán)限修改/oracle/RDV/102_64/dbs/initRDV.sap備份日志文件路徑備份數(shù)據(jù)庫(kù)時(shí)報(bào)錯(cuò)解決方法:rootvm # su - oracleoraclevm $ cd $ORACLE_HOME/binoraclevm bin$ chmod +s oracleoraclevm bin$ ll oracle-rwsrwsr-x 1 oracle oinstall 152028761 Aug 30 19:06 oracleoraclevm bin$關(guān)于s權(quán)限的說(shuō)明: s表示setUID 和setGID 。位于
3、user和group權(quán)限組的第三位置。如果在user權(quán)限組中設(shè)置了s權(quán)限。那么當(dāng)該文件被執(zhí)行時(shí),是以文件所有者的GID,而不是用戶的GID執(zhí)行文件,因此可執(zhí)行的文件搭配這個(gè)權(quán)限,便能得到特權(quán),任意存取該文件的所有者能使用全部系統(tǒng)資源NOTE: 776505Symptom1. BRARCHIVE, BRBACKUP, and BRCONNECT - started with the user <sapsid>adm when using the OPS$ connection (option "-u /") - terminate on Linux or Sola
4、ris 11 with the following error messages:BR0301E SQL error -1017 at location BrDbConnect-2ORA-01017: invalid username/password; logon deniedBR0310E Connect to database instance QO1 failed2. BRBACKUP or BRARCHIVE backup with RMAN - started with the user <sapsid>adm - fails on Linux or Solaris 1
5、1 with the following error messages:BR0278E Command output of 'SHELL=/bin/sh /oracle/I20/920_32/bin/rmannocatalog':Recovery Manager: Release 9.2.0.4.0 - ProductionCopyright (c) 1995, 2002, Oracle Corporation. All rights reserved.RMAN>RMAN> connect target /;RMAN-00571: =RMAN-
6、00569: = ERROR MESSAGE STACK FOLLOWS =RMAN-00571: =ORA-01031: insufficient privilegesRMAN> *end-of-file*3. BRBACKUP or BRARCHIVE fail with ORA-01031 during an attempt to connect to the database using the SYSOPER authorization, for example:BR0301E SQL error -1031 at location BrInitOraCreate-2, SQL
7、 statement:'CONNECT / AT PROF_CONN IN SYSOPER MODE'ORA-01031: insufficient privilegesBR0303E Determination of Oracle version failedOther TermsBR*ToolsReason and PrerequisitesThe BR executables are assigned an s-bit. The problem is related to the special processing of the s-bit by Linux and S
8、olaris 11 operating systems.1. The problem does not occur if the BR*Tools are called with the SYSTEM database user, for example:brbackup -u SYSTEM/<password> -q2+3. The problem occurs for every database user if the backup was started with the OS user <sapsid>adm.Solution1. Although the B
9、R*Tools are called with the OS <sapsid>adm, the relevant database user for the OPS$ connection must be called OPS$ORA<DBSID>. If it does not exist yet, create it as follows:sqlplus /nologSQL> connect / as sysdbaSQL> create user ops$ora<dbsid> identified externally temporary t
10、ablespace psaptemp;SQL> grant sapdba to ops$ora<dbsid>2+3. To solve the problem, set the SGID bit for the brarchive, brbackup, and brconnect executables (they must belong to ora<dbsid>):su - rootcd /usr/sap/<SAPSID>/SYS/exe/run改變文件所有者為ora<dbsid>chown ora<dbsid> brarc
11、hive brbackup brconnect改變所屬用戶組為 dbachgrp dba brarchive brbackup brconnect改變文件權(quán)限為6754chmod 6754 brarchive brbackup brconnect These commands should result in the following file authorizations:-rwsr-sr- 1 ora<dbsid> dba 9325374 2012-12-19 04:52 brarchive-rwsr-sr
12、- 1 ora<dbsid> dba 9443223 2012-12-19 04:52 brbackupLS -rwsr-sr- 1 ora<dbsid> dba 11333756 2012-12-19 04:55 brconnect-rwxr-xr-x 1 <sapsid>adm sapsys 9893702 2012-12-19 04:56 brrecover-rwxr-xr-x 1 <sa
13、psid>adm sapsys 6203096 2012-12-19 04:56 brrestore-rwxr-xr-x 1 <sapsid>adm sapsys 11766827 2012-12-19 04:58 brspace-rwxr-xr-x 1 <sapsid>adm sapsys 6797524 2012-12-19 04:58 brtoolsThe authorization *4 should prevent just anybody from being able to perform an offli
14、ne backup, which could disrupt the availability of the SAP system.Header DataReleased On27.07.2015 14:33:10Release StatusReleased for CustomerComponentBC-DB-ORA-DBA Database Administration with OraclePriorityCorrection with medium priorityCategoryHelp for error analysisValidityThis document is not r
15、estricted to a software component or software component version ReferencesThis document refers to:SAP Notes1882181 Corrections in BR*Tools 7.20 Patch 33 / 7.40 Patch 3361641 Creating OPS$ users on UNIX113747 Owners and authorizations for BR*ToolsThis document is referenced by:SAP
16、 Notes (3)113747 Owners and authorizations for BR*Tools361641 Creating OPS$ users on UNIX1882181 Corrections in BR*Tools 7.20 Patch 33 / 7.40 Patch 3Linux下恢復(fù)數(shù)據(jù)庫(kù) 恢復(fù)數(shù)據(jù)文件>su oraprd>cd /oracle/PRD/sapbackup>brrestore b beqktnhh.andm fullc force-d disk注意:在上面命令中,beqktnhh.and為對(duì)應(yīng)備份集的備份日志文件,請(qǐng)根
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 《裝修設(shè)計(jì)細(xì)節(jié)解讀》課件
- 外國(guó)業(yè)務(wù)開(kāi)發(fā)外包協(xié)議
- 2025年廣西南寧市中考物理一模試卷(含解析)
- 鐵路旅客運(yùn)輸服務(wù)鐵路旅客服務(wù)心理概述課件
- 《財(cái)務(wù)分析決策實(shí)例》課件
- 鐵道機(jī)車(chē)專(zhuān)業(yè)教學(xué)湖南鐵道左繼紅88課件
- 條碼技術(shù)物流工程38課件
- 鐵路貨物運(yùn)雜費(fèi)貨車(chē)延期使用費(fèi)費(fèi)率標(biāo)準(zhǔn)課件
- 鐵路運(yùn)輸法規(guī)旅客在站臺(tái)突發(fā)急性心肌梗死第頁(yè)課件
- 中國(guó)人的航天夢(mèng)課件
- 財(cái)務(wù)機(jī)器人開(kāi)發(fā)與應(yīng)用實(shí)戰(zhàn) 課件 任務(wù)5 E-mail人機(jī)交互自動(dòng)化-2
- 2024年個(gè)人廉潔自律述職報(bào)告(三篇)
- 【華為】通信行業(yè):華為下一代鐵路移動(dòng)通信系統(tǒng)白皮書(shū)2023
- 小學(xué)家長(zhǎng)會(huì)-做好孩子手機(jī)管理主題班會(huì)課件
- 山東省技能大賽青島選拔賽-世賽選拔項(xiàng)目55樣題(3D數(shù)字游戲技術(shù))
- 2023年桂林市臨桂區(qū)增設(shè)特崗教師招聘筆試環(huán)節(jié)的考試真題
- 耳穴壓豆治療失眠
- 人教版九年級(jí)化學(xué)下冊(cè)實(shí)驗(yàn)題專(zhuān)項(xiàng)訓(xùn)練含答案
- 【學(xué)考試卷】2023年6月 福建省學(xué)考英語(yǔ)真題及答案
- 建筑施工職業(yè)病危害因素識(shí)別、分析及預(yù)防
- 《民宿管家》課件-項(xiàng)目四 創(chuàng)意策劃與活動(dòng)組織
評(píng)論
0/150
提交評(píng)論