oracle11g rman验证备份有效性

RMAN> restore validate controlfile;

Starting restore at 21-NOV-13
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=71 device type=DISK

channel ORA_DISK_1: starting validation of datafile backup set
channel ORA_DISK_1: reading from backup piece /u01/archivelog/YOON/autobackup/2013_11_13/o1_mf_s_831423038_988l4gmq_.bkp
channel ORA_DISK_1: piece handle=/u01/archivelog/YOON/autobackup/2013_11_13/o1_mf_s_831423038_988l4gmq_.bkp tag=TAG20131113T225038
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: validation complete, elapsed time: 00:00:01
Finished restore at 21-NOV-13

RMAN> restore validate spfile;

Starting restore at 21-NOV-13
using channel ORA_DISK_1

channel ORA_DISK_1: starting validation of datafile backup set
channel ORA_DISK_1: reading from backup piece /u01/archivelog/YOON/autobackup/2013_11_13/o1_mf_s_831423038_988l4gmq_.bkp
channel ORA_DISK_1: piece handle=/u01/archivelog/YOON/autobackup/2013_11_13/o1_mf_s_831423038_988l4gmq_.bkp tag=TAG20131113T225038
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: validation complete, elapsed time: 00:00:01
Finished restore at 21-NOV-13

RMAN> restore validate database;

Starting restore at 21-NOV-13
using channel ORA_DISK_1

datafile 5 will be created automatically during restore operation
datafile 7 will be created automatically during restore operation
channel ORA_DISK_1: starting validation of datafile backup set
channel ORA_DISK_1: reading from backup piece /u01/oracle/fast_recovery_area/YOON/backupset/2013_09_08/o1_mf_nnndf_TAG20130908T223042_92tdpm3t_.bkp
channel ORA_DISK_1: piece handle=/u01/oracle/fast_recovery_area/YOON/backupset/2013_09_08/o1_mf_nnndf_TAG20130908T223042_92tdpm3t_.bkp tag=TAG20130908T223042
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: validation complete, elapsed time: 00:00:15
failover to previous backup

datafile 5 will be created automatically during restore operation
datafile 7 will be created automatically during restore operation
Finished restore at 21-NOV-13

时间: 2024-10-02 00:52:26

oracle11g rman验证备份有效性的相关文章

使用RMAN验证备份的有效性

--验证控制文件和参数文件: RMAN> restore validate controlfile; Starting restore at 22-JUL-14 allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=36 device type=DISK channel ORA_DISK_1: starting validation of datafile backup set channel ORA_DISK_1: reading from

validate命令---rman进行备份和回复的验证

rman作为oracle备份与恢复工具,为我们提供了强大的功能.当中包含对数据文件的物理和逻辑检測以及备份文件的有效性检測. 首先.来看一下rman对数据文件的检測. 我们知道,rman在备份数据时,会将数据读入读缓存,然会将数据从读缓存写入写缓存并终于写入数据库.在从读缓存到写缓存的过程中,rman会进行物理一致性的检測(db_block_checksum未true)和逻辑一致性检測(使用了check logical选项).比如: SQL> show parameter db_block NA

[转]Oracle DB 使用RMAN创建备份2

归档备份:概念 归档备份:概念 如果需要在指定时间内保留联机备份,RMAN 通常会假定用户可能需要在自执行该备份以来到现在之间的任意时间执行时间点恢复.为了满足这一要求,RMAN 会在此时段内保留归档日志.但是,可能仅需要在指定的时间(如两年)内保留特定备份(并使其保持一致和可恢复).用户不打算恢复到自执行该备份以后的某一时间点,只是希望能够正好恢复到执行该备份的确切时间.此外,用户还需要维护保留策略以使备份区井然有序,因此无法使备份恢复到两年前.为了满足保留数据的商业或法律要求,通常需要这么做

中小型数据库 RMAN CATALOG 备份恢复方案(二)

中小型数据库呈现的是数据库并发少,数据库容量小,版本功能受限以及N多单实例等特点.尽管如此,数据库的损失程度也会存在零丢失的情形.企业不愿意花太多的钱又要保证数据库的可靠稳定,可是苦煞了我这些搞DB的.接上一篇文章,中小型数据库 RMAN CATALOG 备份恢复方案(一),我们继续来给出基于中小型数据库的恢复的脚本与其部署. 1.RMAN还原shell脚本 [python] view plain copy print? --下面的shell脚本用于实现数据库的自动还原,还原成功后,数据库被关闭

RMAN增量备份-备份保留策略-设置备份集属性

RMAN增量备份:增量备份级别:0,1,2,3,4BACKUP DATABASE也是创建数据库的完整备份,但是这种备份不同于增量备份的0级备份.这种备份不包含增量备份的0级备份,并不支持在此基础上再创建增量备份.1.建立增量级0级的全库备份 C:\Users\Administrator>RMAN 恢复管理器: Release 11.2.0.1.0 - Production on 星期三 12月 17 21:44:29 2014 Copyright (c) 1982, 2009, Oracle a

RMAN简单备份

1.连接恢复目录及目标数据库 C:\Users\Administrator>rman 恢复管理器: Release 11.2.0.1.0 - Production on 星期日 10月 12 17:48:26 2014 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. RMAN> connect catalog rcat/rcat[email protected]; 连接到恢复目录数据库 R

利用rman自动备份转储spfile

[情景简介] 生产环境丢失了服务器的参数文件,rman已开启自动备份设置. [操作过程简述] ----启动rman $rman target / ----检查rman设置 RMAN> show all; ----配置一遍rman自动备份控制文件,模拟初次设置rman自动备份控制文件 RMAN>CONFIGURE CONTROLFILEAUTOBACKUP ON; RMAN>CONFIGURE CONTROLFILEAUTOBACKUP FORMAT FOR DEVICE TYPE DIS

微信消息接收 验证URL有效性 C#代码示例

官方文档只给出了PHP的示例代码 开发者提交信息后,微信服务器将发送GET请求到填写的URL上,GET请求携带四个参数: 参数 描述 signature 微信加密签名,signature结合了开发者填写的token参数和请求中的timestamp参数.nonce参数. timestamp 时间戳 nonce 随机数 echostr 随机字符串 开发者通过检验signature对请求进行校验(下面有校验方式).若确认此次GET请求来自微信服务器,请原样返回echostr参数内容,则接入生效,成为开

RMAN catalog备份

Oracle开启归档模式 1.开启归档 sqlplus>shutdown immediate;(启动归档前先要停止数据库) sqlplus>startup mount;(数据库以mount方式启动) sqlplus>alter database archivelog;(启动数据库归档) sqlplus>alter system set log_archive_dest_1="/arch"(改变归档日志路径) sqlplus>alter database o