XX公司SAP系统备份策略.doc_第1页
XX公司SAP系统备份策略.doc_第2页
XX公司SAP系统备份策略.doc_第3页
XX公司SAP系统备份策略.doc_第4页
XX公司SAP系统备份策略.doc_第5页
已阅读5页,还剩2页未读, 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

XXXX有限公司SAP系统备份策略目标: 制定此备份策略的目标是确保XXXX有限公司商业数据的安全,建立一个高可靠性的数据恢复环境,并为用户提供高可用性。方案: 使用HP Open View Data Protector 与SAP系统的集成特性,对SAP系统进行联机或脱机备份。此备份方案包含如下数据: Oracle Data file Oracle Control file Redo Log file Important system file备份方式:全部使用脱机备份,使用脱机备份有以下两个原因,脱机备份的可靠性要高于联机备份,且恢复的过程相对简单。由于ultrium460 磁带机的速度很快,数据库本身的数据也不是很大,不会占用很多时间,故可以采用脱机全备份的方式。一 Production Server HSHPP 表1Item备份策略循环周期磁带存放地01每天(双休日及法定节日不做备份)2周MIS办公室02每月1年中国农业银行保险柜03年终3年中国农业银行保险柜说明:每周一至周五对产品系统做两次备份,备份时间及设备分别见下面的表格表2 (每个工作日深夜11:30开始做脱机全备份)备份日期备份时间备份类型(脱机备份)备份工具磁带机周一23:30Whole Database Offline + Redo Log BackupData Protectorultrium460周二23:30Whole Database Offline + Redo Log BackupData Protectorultrium460周三23:30Whole Database Offline + Redo Log BackupData Protectorultrium460周四23:30Whole Database Offline + Redo Log BackupData Protectorultrium460周五23:30Whole Database Offline + Redo Log BackupData Protectorultrium460周五23:30Whole Database Offline + Redo Log BackupData Protector ultrium460表3 每天中午仅对日志文件做备份备份日期备份时间备份类型(脱机备份)备份工具磁带机周一12:15Redo Log BackupData ProtectorDAT72周二12:15Redo Log BackupData ProtectorDAT72周三12:15Redo Log BackupData ProtectorDAT72周四12:15Redo Log BackupData ProtectorDAT72周五12:15Redo Log BackupData ProtectorDAT72周五12:15Redo Log BackupData Protector DAT72每月1日对系统进行文件级的全备份,此备份包含重要的系统文件和全部的数据库及日志文件。如当月1日为双休日或法定节假日则顺延至下一个工作日。该日深夜的日备份取消。表4备份日期备份时间备份类型(脱机备份)备份工具磁带机每月1日23:30File System Level BackupData Protectorultrium460二Development Server HSHPD表5 每个工作日凌晨3:00开始做脱机全备份),磁带循环周期为一周。备份日期备份时间备份类型(脱机备份)备份工具磁带机周一3:30Whole Database Offline + Redo Log BackupData ProtectorDAT72周二3:30Whole Database Offline + Redo Log BackupData ProtectorDAT72周三3:30Whole Database Offline + Redo Log BackupData ProtectorDAT72周四3:30Whole Database Offline + Redo Log BackupData ProtectorDAT72周五3:30Whole Database Offline + Redo Log BackupData ProtectorDAT72周五3:30Whole Database Offline + Redo Log BackupData Protector DAT72具体操作步骤如下:使用Xmanager2.0 登陆到HSHPP,打开终端,运行xomni 使用新磁带前需对该磁带进行格式化(仅限第一次)选择 Devices & Media ,选择相应的设备,点击格式化,完成后系统会有如图的提示对话框选择Backup,可以查看修改相关的备份选项,或者重新安排备份计划。选择Reporting,可以查看及制定一些提示信息,便于系统管理员了解备份情况数据恢复步骤Oracle 恢复指南当系统出现硬件错误后数据丢失的情况,我们应按照如下流程来进行灾难恢复。:a. 数据文件还原步骤 使用SAPDBA 或者 HP Data Protector 将损坏的文件从磁带上还原到系统的原始位置b. 数据库恢复 在文件还原成功后使用 SAPDBA 或者 Oracle SQL*plus , 导入日志文件到数据库中下面是一些常见的数据库恢复场景。.丢失控制文件默认情况下,系统中保存三份相同的控制文件 分别位于/oracle/saparch/cntrl, /oracle/origlogA/cntrl 和 /oracle/sapdata1/cntrl . 目录下,这些路径信息可以在如下参数文件中找到/oracle/920_94/dbs目录下的 init.ora 文件Scenario 1 如果其中一个或两个控制文件损坏或丢失,但是还有一个控制文件正常工作a. “Shutdown abort “ the database using SAPDBA.b. Copy the working copy of the control file to the location.c. “Startup normal” the database using SAPDBA.Scenario 2 所有控制文件都损坏a. “Shutdown abort “ the database using SAPDBA.b. Restore the last good backup of the control file using OMNIBACKc. Copy the control file to all the directories as listed in the init.ora file.d. Startup mount the database and execute the following commands to recover the databaseunixsqlplus /nologsqlplusconnect / as sysdba;recover database using backup controlfile until cancel;Note : The system will ask for the required archive log files, restore the file to /oracle/P01/oraarch if they are not available4.2 Lost of database files Check from the SAP system log ( SM21) or the Oracle system log ( /oracle/saptrace/background/ ) which datafiles is corrupted or missing.a. “Shutdown immediate force” or “shutdown abort” the database using SAPDBAb. Check from the Oracle log file or the SAPDBA which data files need to be restoredc. Restore the missing/destroyed data files from the last backup using OMNIBACKd. Startup mount the database and execute the following commands to recover the database unixsqlplus /nologsqlplusconnect / as sysdba;select file# from v$recover_file;recover datafile # ( # is the datafile number )Note : repeat the recover datafile command for every file listed in v$recover_file. If the system ask for the required archive log file, restore the files to /oracle/P01/oraarch if they are not available.e. Startup open the database and start SAP4.3 Loss of online redo log There are 4 online redo logs group in the Oracle system. Each group contains the original and its mirror copy, so the total redo logs files are 8. Oracle will use the logs in a circular fashion, from redo log group 1 4. The names and location of the redo log files are shown on the table below. Redo log GroupFirst copyMirror copy1/oracle/origlogA/log_g11m1.dbf/oracle/mirrlogA/log_g11m2.dbf2/oracle/origlogB/log_g12m1.dbf/oracle/mirrlogB/log_g12m2.dbf3/oracle/origlogA/log_g13m1.dbf/oracle/mirrlogA/log_g13m2.dbf4/oracle/origlogB/log_g14m1.dbf/oracle/mirrlogB/log_g14m2.dbfa. If only one of the member in the online redo log group is missing or destroyed, we can manually recreate back the file.b. You do not need to do restore.unixsqlplus /nologsqlplusconnect / as sysdba;alter database drop logfile member /oracle/xxxx.; ( xxxx = the redo log mem

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论