change...keep(rman长期备份)(四)
04-8月 -13
BP 关键字: 3159 状态: AVAILABLE 已压缩: NO 标记: BACK_DATABASE
段名:D:\BACKUP\ORCL_165.BAK
备份集 3156 中的数据文件列表
文件 LV 类型 Ckp SCN Ckp 时间 名称
---- -- ---- ---------- ---------- ----
1 Full 33821002940 04-8月 -13 E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
2 Full 33821002940 04-8月 -13 E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
3 Full 33821002940 04-8月 -13 E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
4 Full 33821002940 04-8月 -13 E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
5 Full 33821002940 04-8月 -13 E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF
6 Full 33821002940 04-8月 -13 E:\RM_TAB.DBF
7 Full 33821002940 04-8月 -13 E:\RMAN.DBF
RMAN> report obsolete;
RMAN 保留策略将应用于该命令
将 RMAN 保留策略设置为冗余 1
已废弃的备份和副本报表
类型 关键字 完成时间 文件名/句柄
-------------------- ------ ------------------ --------------------
备份集 2850 04-8月 -13
备份片段 2854 04-8月 -13 D:\BACKUP\ORCL_159.BAK
说明跟无catalog里保持了同步,既然那么及时,那么我是不是有一个类似于”触发器“的东西在同步控制文件和恢复目录之间的信息呢?其实是当执行某些特定的操作例如backup 、delete等操作的时候,内部机制会去自动同步;
有一道ocp题考查此知识点
Q513. You performed the RMAN database backup having abackupset key number 231 with the KEEP FOREVER option. After some days, youwant to change the status of the database backup and you issued the followingcommand:
RMAN>CHANGE BACKUPSET 231 NOKEEP;
What is the implication of this command
A. The backup is deleted.
B. The backup is marked unavailable.
C. The backup overrides the backup retention policy.
D. the backup becomes eligible fordeletion according to the existing retention policy
Answer: D