ImageVerifierCode 换一换
格式:DOCX , 页数:18 ,大小:1MB ,
资源ID:10669749      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/10669749.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(SAP中oracle数据库的备份恢复.docx)为本站会员(b****7)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

SAP中oracle数据库的备份恢复.docx

1、SAP中oracle数据库的备份恢复1. 备份数据库进入T-code DB13备份在线数据库去 DB12可以看进度查看日志这是成功了2备份数据库归档文件执行DB13的TCODE,创建计划,设定计划时间,选择redolog backup. 利用命令备份:brarchive -u / -c force -p initPRD.sap -sdZzxc报错,说Function中写的BRARCHIVE出错了,所以这里要用 -sd这样就可以了,去DB14中查看日志备份状态成功了备份更改路径3SAP数据恢复在运行中输入sqlplus /nolog打开cmd界面,登陆oracleWindows切换为devadm

2、用户登录关闭数据库服务Linux下备份数据库使用rdvadm用户登录用chmod R 777 /oracle 给权限修改/oracle/RDV/102_64/dbs/initRDV.sap备份日志文件路径备份数据库时报错解决方法: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$关于s权限的说明: s表

3、示setUID 和setGID 。位于user和group权限组的第三位置。如果在user权限组中设置了s权限。那么当该文件被执行时,是以文件所有者的GID,而不是用户的GID执行文件,因此可执行的文件搭配这个权限,便能得到特权,任意存取该文件的所有者能使用全部系统资源NOTE: 776505Symptom1. BRARCHIVE, BRBACKUP, and BRCONNECT - started with the user adm when using the OPS$ connection (option -u /) - terminate on Linux or Solaris 11

4、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 adm - fails on Linux or Solaris 11 with the following

5、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.RMANRMAN connect target /;RMAN-00571: =RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =RMAN-00571: =

6、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 statement:CONNECT / AT PROF_CONN IN SYSOPER MODEORA-01

7、031: 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 Solaris 11 operating systems.1. The problem does not occur if the

8、BR*Tools are called with the SYSTEM database user, for example:brbackup -u SYSTEM/ -q2+3. The problem occurs for every database user if the backup was started with the OS user adm.Solution1. Although the BR*Tools are called with the OS adm, the relevant database user for the OPS$ connection must be

9、called OPS$ORA. If it does not exist yet, create it as follows:sqlplus /nologSQL connect / as sysdbaSQL create user ops$ora identified externally temporary tablespace psaptemp;SQL grant sapdba to ops$ora;2+3. To solve the problem, set the SGID bit for the brarchive, brbackup, and brconnect executabl

10、es (they must belong to ora):su - rootcd /usr/sap/SYS/exe/run改变文件所有者为orachown ora brarchive brbackup brconnect改变所属用户组为 dbachgrp dba brarchive brbackup brconnect改变文件权限为6754chmod 6754 brarchive brbackup brconnect These commands should result in the following file authorizations:-rwsr-sr- 1 oradba 9325

11、374 2012-12-19 04:52 brarchive-rwsr-sr- 1 oradba 9443223 2012-12-19 04:52 brbackupLS -rwsr-sr- 1 oradba11333756 2012-12-19 04:55 brconnect-rwxr-xr-x 1 adm sapsys9893702 2012-12-19 04:56 brrecover-rwxr-xr-x 1 adm sapsys6203096 2012-12-19 04:56 brrestore-rwxr-xr-x 1 adm sapsys 11766827 2012-12-19 04:5

12、8 brspace-rwxr-xr-x 1 adm sapsys6797524 2012-12-19 04:58 brtoolsThe authorization *4 should prevent just anybody from being able to perform an offline backup, which could disrupt the availability of the SAP system.Header DataReleased On27.07.2015 14:33:10Release StatusReleased for CustomerComponentB

13、C-DB-ORA-DBA Database Administration with OraclePriorityCorrection with medium priorityCategoryHelp for error analysisValidityThis document is not restricted to a software component or software component versionReferencesThis document refers to:SAP Notes1882181Corrections in BR*Tools 7.20 Patch 33 /

14、 7.40 Patch 3361641Creating OPS$ users on UNIX113747Owners and authorizations for BR*ToolsThis document is referenced by:SAP Notes (3)113747Owners and authorizations for BR*Tools361641Creating OPS$ users on UNIX1882181Corrections in BR*Tools 7.20 Patch 33 / 7.40 Patch 3Linux下恢复数据库 恢复数据文件su oraprdcd

15、/oracle/PRD/sapbackupbrrestore b beqktnhh.andm fullc force-d disk注意:在上面命令中,beqktnhh.and为对应备份集的备份日志文件,请根据实际情况进行相关替换。在生产数据库中产生控制文件的trace.su oraprdsqlplus “/as sysdba”SQLalter database backup controlfile to trace as /tmp/prd.trc;将产生的控制文件拷贝到本地,加工获得相关目录和控制文件重建SQL脚本。由于是压缩备份,所以在恢复时必须解压日志文件解压命令cd /oracle/RDV/oraarch/gunzip c 文件名 解压到的文件名 感谢下载!欢迎您的下载,资料仅供参考

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1