博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
RMAN 增量备份 的 对象测试
阅读量:6910 次
发布时间:2019-06-27

本文共 1680 字,大约阅读时间需要 5 分钟。

       在练习 RMAN Incremental Backup 时、参照 OCP TK 042 :

 

       

      

        对于 RMAN 增量备份的对象、官网摘入如下:

          You can make incremental backups of databases, individual tablespaces or datafiles.

       显然、基于96 题的答案、archive log 不在列位、偶撞了南墙也想测试呀

 

 

RMAN> backup incremental level 0 archivelog all;Starting backup at 30-MAR-13current log archivedusing channel ORA_DISK_1channel ORA_DISK_1: starting archive log backupsetchannel ORA_DISK_1: specifying archive log(s) in backup setinput archive log thread=1 sequence=4 recid=2 stamp=811463043channel ORA_DISK_1: starting piece 1 at 30-MAR-13channel ORA_DISK_1: finished piece 1 at 30-MAR-13piece handle=/u01/app/oracle/flash_recovery_area/ORACLE10G/backupset/2013_03_30/o1_mf_annnn_TAG20130330T222403_8ofxd54r_.bkp tag=TAG20130330T222403 comment=NONEchannel ORA_DISK_1: backup set complete, elapsed time: 00:00:02Finished backup at 30-MAR-13RMAN> backup incremental level 1 archivelog all;Starting backup at 30-MAR-13current log archivedusing channel ORA_DISK_1channel ORA_DISK_1: starting archive log backupsetchannel ORA_DISK_1: specifying archive log(s) in backup setinput archive log thread=1 sequence=4 recid=2 stamp=811463043input archive log thread=1 sequence=5 recid=3 stamp=811463081channel ORA_DISK_1: starting piece 1 at 30-MAR-13channel ORA_DISK_1: finished piece 1 at 30-MAR-13piece handle=/u01/app/oracle/flash_recovery_area/ORACLE10G/backupset/2013_03_30/o1_mf_annnn_TAG20130330T222442_8ofxfccb_.bkp tag=TAG20130330T222442 comment=NONEchannel ORA_DISK_1: backup set complete, elapsed time: 00:00:02Finished backup at 30-MAR-13

 

       竟然成功!!答案错了??!!

       
       未必、、、
       
       因为答案是基于业务规则而非语义语法
       
       对归档日志进行增量备份那就应了那句谚语--脱裤子放屁哈
       
       生活中、很多事情的对错是基于"人情世故"的、
       原本你的做法完全正确、但你没有按照"潜规则行事"、那么你就错了、
       所以、不要太在意对错、因为那原本就没有定义、
       
       

 

转载地址:http://bxycl.baihongyu.com/

你可能感兴趣的文章
Java实现文件复制
查看>>
Spark修炼之道(基础篇)——Linux大数据开发基础:第三节:用户和组
查看>>
Linux下Power Management开发总结
查看>>
安装服务器安全狗教程
查看>>
使用CodePush实时更新 React Native 和 Cordova 应用
查看>>
jstree -- 使用JSON 数据组装成树
查看>>
C++读取INI文件
查看>>
Win2003服务器安装Sql Server 2008 (转)
查看>>
2的倍数相加后如何还原
查看>>
W3C 、HTML 、CSS 发展介绍
查看>>
JS实现点击跳转登陆邮箱
查看>>
Alexandra and Prime Numbers(思维)
查看>>
jQuery hover 延时器实现代码
查看>>
ArcGIS JS 学习笔记3 实现百度风格的BubblePopup
查看>>
JavaScript之字符串引号的使用技巧
查看>>
linux如何关闭selinux?
查看>>
初识CSS
查看>>
Android开发常用代码片段
查看>>
微信小程序使用场景及取名“潜”规则
查看>>
Atitit nodejs5 nodejs6 nodejs 7.2.1 新特性attialx总结
查看>>