1.备份分为:物理备份和逻辑备份

   物理备份:备份数据文件  控制文件  归档日志文件
    逻辑备份:EXP EXPDP备份等
物理备份为主,逻辑做补充
 
 
2.错误的类型
        media failure :介质失败.磁盘不能读写
        user error: 操作错误
        application error:应用程序错误
 
 
3.备份的方式
       RMAN                                :RMAN备份
       User managed backup      :用户手工备份
        
4. 关于RMAN备份的一些东西
     Incremental backups            :只备份用过的块,在恢复的时候只使用这些块对应的redo
    Block media recovery           :可以只修复某些块而不是整个数据文件,命令recover block
    Binary compression              :减少备份所占的空间
    Encrypted backups              :加密备份,必须有advance security操作(?).如果是加密备份到磁带,则需要Oracle Secure Backup SBT实例(?)不再需要advance security
    Automated database duplication :复制数据库,可以使用不同的存储结构,可以在ASM间复制
    Cross-platform data conversion    :跨平台的转换数据
 
5.不同的备份区别

Table 1-1 Feature Comparison of Backup Techniques

Feature Recovery Manager User-Managed Data Pump Export

Closed database backups

Supported. Requires instance to be mounted.

Supported.

Not supported.

Open database backups

Supported. No need to use BEGIN/ENDBACKUP statements.

Supported. Must use BEGIN/END BACKUPstatements.

Requires rollback or undo segments to generate consistent backups.

Incremental backups

Supported.

Not supported.

Not supported.

Corrupt block detection

Supported. Identifies corrupt blocks and logs in V$DATABASE_BLOCK_CORRUPTION.

Not supported.

Supported. Identifies corrupt blocks in the export log.

Automatic specification of files to include in a backup(备份信息)

Supported. Establishes the name and locations of all files to be backed up (whole database, tablespaces, data files, control files, and so on).

Not supported. Files to be backed up must be located and copied manually.

Not applicable.

Backup repository

Supported. Backups are recorded in the control file, which is the main repository of RMAN metadata. Additionally, you can store this metadata in a recovery catalog, which is a schema in a different database.

Not supported. DBA must keep own records of backups.

Not supported.

Backups to a media manager

Supported. Interfaces with a media manager. RMAN also supports proxy copy, a feature that allows a media manager to manage completely the transfer of data between disk and backup media.

Supported. Backup to tape is manual or controlled by a media manager.(需要手动或备份管理器)

Not supported.

Backup of initialization parameter file

Supported.

Supported.

Not supported.

Backup of password and networking files

Not supported.

Supported.

Not supported.

Platform-independent language for backups(平台依赖的语言?)

Supported.

Not supported.

Supported.

 
 
 
5.FLASHBACK(闪回)
   1)逻辑的闪回:
        除了flashback drop外,其它的闪回技能需要使用undo表空间的信息    
        有以下几种逻辑闪回方式 :
                Oracle Flashback Query:闪回查询. as to timestamp....
            Oracle Flashback Version Query:闪回版本查询.在特定时间段内行的所有版本,包括start and end time, operation, and transaction ID等
            Oracle Flashback Transaction Query:闪回事务查询.查询一个事务或一段时间内的所有事务做的更改
            Oracle Flashback Transaction        :闪回事务.把事务闪回,并且把依赖的事务也闪回,就像这些事务没有做过一样.
                Oracle Flashback Drop                :表删除闪回.从回收站把表还原
            flashback data archive            :通过补充日志,把表的更改记录下来.补充日志放在表空间中.数据库自动删除过期的闪回归档.
    2)数据库闪回
            将数据库闪回到某个SCN,有点像POINT-IN-TIME-RECOVER(基于时间点的恢复),但经PITR快,不需要用备份还原,所使用的的redo也比较少.ORACLE使用flashback log(闪回日志)来获取
     数据块的历史版本和日志信息.闪回日志放在fast recover area(快速闪回区),默认不开启FRA(在DBCA创建数据库时可以配置).
            ORACLE在FLASHBACK和BACK AND RESOTRE上支持还原点.还原点(restore point)对应一个SCN.可以任何时候创建还原点,可以将数据库闪回到某个已经存在的还原点上.
 
6.DATA RECOVERY ADVISOR(DRA数据恢复顾问)
          DAR自动诊断数据库错误(如文件丢失),并且生成恢复建议.可以使用EM或GRID CONTROL或RMAN命令来使用DRA.DRA会显示错误的严重程度,critical, high, or low.DRA生成的建议包括data file restore and recovery, media recovery, Flashback Database等.在修复完成后,DRA会删除错误提示.DAR使用的顺序为list failure-advisor failure-repair failure
 
 
 
7.Backup and Recovery Documentation Roadmap(恢复备份的文档路径图)
 
 
 

官方文档 恢复备份指南一 Introduction to Backup and Recovery的更多相关文章

  1. 官方文档 恢复备份指南三 Recovery Manager Architecture

    本节讨论以下问题: About the RMAN Environment                        关于RMAN环境 RMAN Command-Line Client        ...

  2. 官方文档 恢复备份指南八 RMAN Backup Concepts

    本章内容 Consistent and Inconsistent RMAN Backups Online Backups and Backup Mode Backup Sets Image Copie ...

  3. 官方文档 恢复备份指南六 Configuring the RMAN Environment: Advanced Topics

    RMAN高级设置. 本章内容: Configuring Advanced Channel Options  高级通道选项 Configuring Advanced Backup Options 高级备 ...

  4. 官方文档 恢复备份指南五 Configuring the RMAN Environment

    本章内容: Configuring the Environment for RMAN Backups    配置RMAN环境 Configuring RMAN to Make Backups to a ...

  5. 官方文档 恢复备份指南二 Getting Started with RMAN

    本章对RMAN进行基本的熟悉和了解   1.Overview of the RMAN Environment    RMAN运行时需要的最小环境:      target database       ...

  6. 官方文档 恢复备份指南七 Using Flashback Database and Restore Points

    本章内容: Understanding Flashback Database, Restore Points and Guaranteed Restore Points Logging for Fla ...

  7. 官方文档 恢复备份指南四 Starting and Interacting with the RMAN Client

    本章讲: Starting and Exiting RMAN Specifying the Location of RMAN Output                                ...

  8. 《KAFKA官方文档》入门指南(转)

    1.入门指南 1.1简介 Apache的Kafka™是一个分布式流平台(a distributed streaming platform).这到底意味着什么? 我们认为,一个流处理平台应该具有三个关键 ...

  9. Protocol Buffers(Protobuf) 官方文档--Protobuf语言指南

    Protocol Buffers(Protobuf) 官方文档--Protobuf语言指南 约定:为方便书写,ProtocolBuffers在下文中将已Protobuf代替. 本指南将向您描述如何使用 ...

随机推荐

  1. Swift_枚举

    Swift_枚举 点击查看源码 空枚举 //空枚举 enum SomeEnumeration { // enumeration definition goes here } 枚举基本类型 //枚举基本 ...

  2. 关于chrome浏览器不能更新js的问题

    今天写程序时,突然发现无论我怎么改本地js,用chrome打开时,均是改动之前的效果,F12查看Sources时发现js文件并没有被改动.由此引发的问题,经查询解决方法如下: F12后按F1,出现Se ...

  3. tomcat启动startup.bat一闪而过【亲测有效】

    遇到很多次运行startup.bat后,一个窗口一闪而过的问题,但是从来没去纠正怎样修改配置才是正确的,现在从网上查阅的资料整理如下:tomcat在启动时,会读取环境变量的信息,需要一个CATALIN ...

  4. Illegal modifier for parameter userMapper; only final is permitted

    报错的原因是 package com.chen.service.impl; import java.io.IOException; import java.io.InputStream; import ...

  5. ethereum(以太坊)(实例)--"安全的远程购买"

    pragma solidity ^0.4.10; contract Safebuy{ uint public price; address public seller; address public ...

  6. Echarts+百度地图

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...

  7. nginx 同一域名下分目录配置显示php,html,资源文件

    安装上nginx后 注意后nginx.conf 中的这么几行 error_log /var/log/nginx/error.log;  日志,这个很有用 include /etc/nginx/conf ...

  8. angular2路由之routerLinkActive指令

    angular2的routerLinkActive指令在路由激活时添加样式class .red{  color: red;}    <a routerLink="/user/login ...

  9. Drill-On-YARN

    1. Drill-On-YARN介绍 功能 启动 停止 扩容 缩容 failover 启动流程 下载drill的社区包,进行必要的配置,执行drill-on-yarn.sh start命令,启动dri ...

  10. C语言实现''student a am i''字符串的正确排列

    #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> int Reverse(char a[ ...