ITPub博客

首页 > Linux操作系统 > Linux操作系统 > RMAN--List command

RMAN--List command

原创 Linux操作系统 作者:vongates 时间:2019-05-30 13:18:05 0 删除 编辑

List command example

可以用于查看對應物,backup,copy,archivelog等


01 list incarnation
===========================
01.01  list incarnation;
 list incarnation of database;
 list incarnation of database 'ORA9I';

===================================================
02 list backup example
===========================
02.01 list backup;
02.02 list backup of database;
02.03 list backup of tablespace 'SYSTEM','USERS';
02.04 list backup of datafile 1,3,7;
 list backup of datafile 'e:oracleoradataora9isystem01.dbf',
    'e:oracleoradataora9iusers01.dbf';
02.05 list backup of controlfile;
02.06 list backup of spfile;
02.07 list backup of archivelog all;
 list backup of archivelog like '%.log';
 list backup of archivelog from time 'sysdate-14';
 list backup of archivelog until time 'sysdate-7';
 list backup of archivelog from time 'sysdate-14' until time 'sysdate-7';
 list backup of archivelog from scn 10000;
 list backup of archivelog until scn 11000;
 list backup of archivelog from scn 10000 until scn 11000;
 list backup of archivelog from logseq 135;
 list backup of archivelog until logseq 139;
 list backup of archivelog from logseq 135 until logseq 139;
02.08 list backup completed after 'sysdate -14';
 list backup completed before 'sysdate -7';
 list backup completed between 'sysdate -14' and 'sysdate-7';
02.09 list backup tag=WHOLE_COLDBACK;
02.10 list backup recoverable;
02.11 list backup device type disk;
02.12 list backup completed after 'sysdate-14'
   tag=WHOLE_COLDBACK
   device type disk
   recoverable;
    
===================================================
03 list copy example
===========================
03.01 list copy;
03.02 list copy of database;
03.03 list copy of tablespace 'SYSTEM','USERS';
03.04 list copy of datafile 1,3,7;
 list copy of datafile
   'e:oracleoradataora9isystem01.dbf',
   'e:oracleoradataora9iusers01.dbf';
03.05 list copy of controlfile;
03.06 list copy of spfile;
03.07 list copy of archivelog all;
 list copy of archivelog like '%.log';
 list copy of archivelog from time 'sysdate-14';
 list copy of archivelog from time "to_date('07-11-2004','mm-dd-yyyy')";
 list copy of archivelog until time 'sysdate-7';
 list copy of archivelog from time 'sysdate-14' until time 'sysdate-7';
 list copy of archivelog from scn 10000;
 list copy of archivelog until scn 11000;
 list copy of archivelog from scn 10000 until scn 11000;
 list copy of archivelog from logseq 135;
 list copy of archivelog until logseq 139;
 list copy of archivelog from logseq 135 until logseq 139;
03.08 list copy completed after 'sysdate -14';
 list copy completed before 'sysdate -7';
 list copy completed between 'sysdate -14' and 'sysdate-7';
03.09 list copy tag=WHOLE_COLDBACK;
03.10 list copy recoverable;
03.11 list copy device type disk;
03.12 list copy completed after 'sysdate-14'
   tag=WHOLE_COLDBACK
   device type disk
   recoverable;

================================================
04. list backup summary
===========================
04.01 list backup summary;    概述可用的備份
04.02 list backup of database summary;
04.03 list backup of tablespace users summary;
04.04 list backup of datafile 9 summary;
04.05 list backup of archivelog all summary;
04.06 list backup of controlfile summary;
04.07 list backup of spfile summary;

=======================================================
05. list others
===========================
05.01 list expired backup;
05.02 list expired backup of archivelog all summary;
05.03 list backup by file;
05.04 list archivelog all;
05.05 list backupset;

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29987/viewspace-51634/,如需转载,请注明出处,否则将追究法律责任。

上一篇: RMAN--Report command
请登录后发表评论 登录
全部评论

注册时间:2018-09-11

  • 博文量
    448
  • 访问量
    290339