1、 -i- 目目 录录 摘要. iii Abstract. iv 第一章 绪论1 1.1 国内外研究动态.1 1.2 容灾备份系统的现状分析.1 第二章 数据库备份方案3 2.1 备份文件.3 2.1.1 定义 3 2.1.2 主要的内容4 2.1.3 优先级别 .4 2.1.4 文件之间的转化 .4 2.2 备份恢复方案.4 2.2.1 备份恢复的分类.5 2.2.2 备份方案的介绍.5 2.3 数据库的备份策略.5 2.3.1 概述 5 第三章 备份与恢复功能设计与实现6 3.1 冷备份(脱机备份).6 3.1.1 定义 6 3.1.2 优点与缺点6 3.1.3 步骤 6 3.1.4 备份恢
2、复功能设计与实现.8 3.2 热备份恢复(联机备份恢复). 10 3.2.1 定义 . 10 3.2.2 优点与缺点 10 3.2.3 备份设计与实现. 10 第四章 总结 38 参考文献 39 -ii- 谢 辞 41 -iii- Oracle database Oracle database 备份与恢复备份与恢复 摘要:摘要:随着信息化的发展,数据对我们日常生活中有着举足轻重的影响。生活不能 缺少数据,因此数据的备份和恢复在当前至关重要。它能保证数据的完整性、安全 性、一致性。它也使数据在非正常情况下丢失后,还能恢复到事故前的状态,确保 损失最少,风险最少。 本文主要介绍在Linux服务器端
3、, 通过oracle数据库的SQL*plus工具, 对oracle 数据库进行冷备份恢复(脱机备份)和热备份恢复(联机备份) ,分别对数据库的参 数文件,控制文件,数据文件,日志文件进行备份与恢复。通过模拟不同情况下, 数据库文件丢失的情况下,对数据库进行完全恢复和不完全恢复。本文主要详细阐 述了不完全恢复时需要注意的要点和不完全恢复的特点。通过本文对备份恢复情况 的研究,可以编写相关的数据库备份恢复脚本,简化备份步骤,希望能实现 Linux 操作系统下,数据库自动备份与恢复。 关键词:关键词:oracle;备份;恢复 -iv- Oracle database backup and recov
4、eryOracle database backup and recovery Abstract:With the development of information,the data has an important influence in our daily life.Our life cant lack of data,so that data backup and recovery in current is very important.It can guarantee the integrity,the consistency and security of the data .
5、 It also can ensure that the data can return to normal statue after lose data. This paper describes the Linux server, oracle database through SQL * plus tools, cold oracle database backup and recovery (offline backup) and hot backup and recovery (online backup), respectively, the parameters of the d
6、atabase files, control files, data files the log files are backed up and restored. By simulating different scenarios, the database files are missing in the case, the database is fully recovered and incomplete recovery. This paper elaborates incomplete recovery points to be noted and incomplete recovery features. Through this case study on backup and recovery, you can write relevant database backup and recovery scripts, simplify backup step, hoping to achieve the Linux operating system, automa