RMAN> report obsolete;

RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
no obsolete backups found

RMAN> backup datafile 1;

Starting backup at 29-MAY-14
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=/u01/app/oracle/oradata/prod/system01.dbf
channel ORA_DISK_1: starting piece 1 at 29-MAY-14
channel ORA_DISK_1: finished piece 1 at 29-MAY-14
piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/amp9g8sf_1_1 tag=TAG20140529T102934 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25
Finished backup at 29-MAY-14

Starting Control File and SPFILE Autobackup at 29-MAY-14
piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140529-00 comment=NONE
Finished Control File and SPFILE Autobackup at 29-MAY-14

RMAN> list backup of datafile 1;

List of Backup Sets
===================

BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
504     Full    391.63M    DISK        00:00:23     29-MAY-14      
        BP Key: 504   Status: AVAILABLE  Compressed: NO  Tag: TAG20140529T102934
        Piece Name: /u01/app/oracle/product/10.2.0/db_1/dbs/amp9g8sf_1_1
  List of Datafiles in backup set 504
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  1       Full 1588933    29-MAY-14 /u01/app/oracle/oradata/prod/system01.dbf

RMAN> backup datafile 1;

Starting backup at 29-MAY-14
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=/u01/app/oracle/oradata/prod/system01.dbf
channel ORA_DISK_1: starting piece 1 at 29-MAY-14
channel ORA_DISK_1: finished piece 1 at 29-MAY-14
piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/aop9g8u0_1_1 tag=TAG20140529T103024 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:35
Finished backup at 29-MAY-14

Starting Control File and SPFILE Autobackup at 29-MAY-14
piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140529-01 comment=NONE
Finished Control File and SPFILE Autobackup at 29-MAY-14

RMAN> list backup of datafile 1;

List of Backup Sets
===================

BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
504     Full    391.63M    DISK        00:00:23     29-MAY-14      
        BP Key: 504   Status: AVAILABLE  Compressed: NO  Tag: TAG20140529T102934
        Piece Name: /u01/app/oracle/product/10.2.0/db_1/dbs/amp9g8sf_1_1
  List of Datafiles in backup set 504
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  1       Full 1588933    29-MAY-14 /u01/app/oracle/oradata/prod/system01.dbf

BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
506     Full    391.63M    DISK        00:00:27     29-MAY-14      
        BP Key: 506   Status: AVAILABLE  Compressed: NO  Tag: TAG20140529T103024
        Piece Name: /u01/app/oracle/product/10.2.0/db_1/dbs/aop9g8u0_1_1
  List of Datafiles in backup set 506
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  1       Full 1588970    29-MAY-14 /u01/app/oracle/oradata/prod/system01.dbf

RMAN> report obsolete;

RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
Report of obsolete backups and copies
Type                 Key    Completion Time    Filename/Handle
-------------------- ------ ------------------ --------------------
Backup Set           503    17-MAR-14         
  Backup Piece       503    17-MAR-14          /u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140317-0b
Backup Set           504    29-MAY-14         
  Backup Piece       504    29-MAY-14          /u01/app/oracle/product/10.2.0/db_1/dbs/amp9g8sf_1_1
Backup Set           505    29-MAY-14         
  Backup Piece       505    29-MAY-14          /u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140529-00

RMAN> backup datafile 1;

Starting backup at 29-MAY-14
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=/u01/app/oracle/oradata/prod/system01.dbf
channel ORA_DISK_1: starting piece 1 at 29-MAY-14
channel ORA_DISK_1: finished piece 1 at 29-MAY-14
piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/aqp9g90p_1_1 tag=TAG20140529T103153 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:26
Finished backup at 29-MAY-14

Starting Control File and SPFILE Autobackup at 29-MAY-14
piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140529-02 comment=NONE
Finished Control File and SPFILE Autobackup at 29-MAY-14

RMAN> report obsolete;

RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
Report of obsolete backups and copies
Type                 Key    Completion Time    Filename/Handle
-------------------- ------ ------------------ --------------------
Backup Set           503    17-MAR-14         
  Backup Piece       503    17-MAR-14          /u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140317-0b
Backup Set           504    29-MAY-14         
  Backup Piece       504    29-MAY-14          /u01/app/oracle/product/10.2.0/db_1/dbs/amp9g8sf_1_1
Backup Set           505    29-MAY-14         
  Backup Piece       505    29-MAY-14          /u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140529-00
Backup Set           506    29-MAY-14         
  Backup Piece       506    29-MAY-14          /u01/app/oracle/product/10.2.0/db_1/dbs/aop9g8u0_1_1
Backup Set           507    29-MAY-14         
  Backup Piece       507    29-MAY-14          /u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140529-01

说说RMAN里的obsolete的更多相关文章

  1. [Oracle][RMAN]关于Oracle RMAN里面的Merged Incremental Backups的Tag分离机能

    关于Oracle RMAN里面的Merged Incremental Backups的机能,RMAN使用的比较多的DBA们可能会有所了解. 基本上,每次都实行同样的Backup命令即可完成BACK. ...

  2. rman的使用

    下面是两种连接方式[oracle@oracle3A ~]$ rman target/ Recovery Manager: Release 11.2.0.1.0 - Production on Mon ...

  3. 一次rman恢复的实验

    本文主要针对备份和恢复数据文件,具体rman知识点查阅我的另一篇文章:http://blog.csdn.net/perfect_db/article/details/8765022 首先看看数据文件的 ...

  4. OCP读书笔记(5) - 使用RMAN创建备份

    5.Creating Backups with RMAN 创建备份集 RMAN> backup as backupset format '/u01/app/oracle/backup/rmanb ...

  5. RMAN正确地删除Archivelog以及设置有备库的归档删除策略

    原文链接:http://blog.sina.com.cn/s/blog_64e166580100xks5.html 如何正确地删除Archivelog: Archivelog并不能直接得从OS层直接物 ...

  6. oracle之三rman 维护

    rman 维护 11.1 rman 使用和维护 11.2 list 命令一览 1)RMAN> list backup; 2)RMAN> list backup of tablespace ...

  7. oracle之三RMAN概述

    RMAN概述 6.1 rman的定义和功能: 1) Recovery Manager 2)建立备份和恢复的server process,在oracle server上做备份和恢复 3)rman 备份d ...

  8. 建工财务搬家NC变更|rman各种测试|

    1,使用全备份之后的还原不需要建立表空间. 2,归档日志备份之后,使用delete all input,在backup database plus achivelog之后,会在完成备份之后自动删除归档 ...

  9. 如何删除控制文件中过去rman备份到磁带的备份集

    问题描述: 早上做数据库巡检,发现FRA(flash recovery area)空间使用率达到66%,是平时的两倍.由于库不大,备份策略是本地磁盘备份,每天一全备,REDUNDANCY 1 ,备份完 ...

随机推荐

  1. Java Random

    第一种情况 Random rand = new Random(47); for(int i=0;i<10;i++) System.out.println(rand.nextInt(100)); ...

  2. 设计模式 Mixin (混入类)

    混入(mix-in)类代表类之间的另一种关系.在C++中,混入类的语法类似于多重继承,但是语义完全不同.混入类回答"这个类还可以做什么"这个问题,答案经常以"-able& ...

  3. 【HDOJ】3325 Arithmetically Challenged

    简单DFS. /* 3325 */ #include <iostream> #include <set> #include <cstdio> #include &l ...

  4. 【图片处理】ImageMagick, gm

    ImageMagick: Convert, Edit, Or Compose Bitmap Images http://www.imagemagick.org/script/binary-releas ...

  5. 图论(费用流):BZOJ 4514 [Sdoi2016]数字配对

    4514: [Sdoi2016]数字配对 Time Limit: 10 Sec  Memory Limit: 128 MBSubmit: 820  Solved: 345[Submit][Status ...

  6. 图论(生成树):HDU 5631Rikka with Graph

    Rikka with Graph Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) ...

  7. 在kafka上对topic新增partition

    对topic增加partition 参考官网site:http://kafka.apache.org/documentation.html#basic_ops_modify_topic 通过kafka ...

  8. N - Tram - poj1847(简单最短路)

    题意:火车从一点开到另一点,轨道上有很多岔路口,每个路口都有好几个方向(火车能够选任意一个方向开),但是 默认的是 第一个指向的方向,所以如果要选择别的方向的话得 进行一次切换操作 ,给定一个起点一个 ...

  9. Centos 多个mysql数据库

    一.编译安装第一个MySQL 5.1.33 ? cd /opt   /usr/sbin/groupadd mysql   /usr/sbin/useradd -g mysql mysql -s /bi ...

  10. CentOS 搭建 FastDFS-5.0.5集群

    转http://www.open-open.com/lib/view/open1435468300700.html 第一步,确定目标: Tracker  192.168.224.20:22122  C ...