Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1123184
  • 博文数量: 251
  • 博客积分: 8431
  • 博客等级: 中将
  • 技术积分: 2699
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-22 16:24
文章分类

全部博文(251)

文章存档

2016年(2)

2015年(5)

2014年(4)

2013年(10)

2012年(8)

2011年(14)

2010年(20)

2009年(33)

2008年(51)

2007年(104)

分类: Oracle

2007-09-04 18:19:16

1 顯示當前的configure
RMAN> show all;

2. 常用的configure command


---------------------------------------------------------------------------
2.01 retention policy
 configure retention policy to recovery window of 3 days;
 configure retention policy to redundancy  3;
 configure retention policy clear;
2.02 backup optimization
 configure backup optimization on;
 configure backup optimization off;
 configure backup optimization clear;
2.03 default device type
 configure default device type to disk;
 configure default device type to stb;
 configure default device type clear;
2.04 controlfile
 configure controlfile autobackup on;
 configure controlfile autobackup format for device type disk to '/cfs01/backup/conf/conf_%F';
 configure controlfile autobackup clear;
 configrue controlfile autobackup format for device type disk clear;
 configrue snapshot controlfile name to '/cfs01/backup/snapcf/scontrofile.snp';
 configrue snapshot controlfile name clear;
2.05 device type disk|stb pallelism n
 configure device type disk|stb parallelism 2;
 configure device type disk|stb clear; 
      configure channel device type disk format 'e/:rmanback_%U';
      configure channel device type disk maxpiecesize 100m
 configure channel device type disk rate 1200K
      configure channel 1 device type disk format 'e/:rmanback_%U';
      configure channel 2 device type disk format 'e/:rmanback_%U';
      configure channel 1 device type disk maxpiecesize 100m
2.06 datafile|archivelog backup copies
 configure datafile backup copies for device type disk|stb to 3;
 configure archivelog backup copies for device type disk|stb to 3;
 configure datafile|archivelog backup copies for device type disk|stb clear
 BACKUP DEVICE TYPE DISK DATABASE
  FORMAT '/disk1/backup/%U', '/disk2/backup/%U', '/disk3/backup/%U';
2.07 exclude
 configure exclude for tablespace 'users';
 configrue exclude clear;
2.08 maxsetsize
 configure maxsetsize to 1G|1000M|1000000K|unlimited;
 configure maxsetsize clear;
2.09 auxiliary
 CONFIGURE AUXNAME FOR DATAFILE 1 TO '/oracle/auxfiles/aux_1.f';
 CONFIGURE AUXNAME FOR DATAFILE 2 TO '/oracle/auxfiles/aux_2.f';
 CONFIGURE AUXNAME FOR DATAFILE 3 TO '/oracle/auxfiles/aux_3.f';
 CONFIGURE AUXNAME FOR DATAFILE 4 TO '/oracle/auxfiles/aux_4.f';
 ---------
 CONFIGURE AUXNAME FOR DATAFILE 1 CLEAR;
 CONFIGURE AUXNAME FOR DATAFILE 2 CLEAR;
 CONFIGURE AUXNAME FOR DATAFILE 3 CLEAR;
 CONFIGURE AUXNAME FOR DATAFILE 4 CLEAR;
阅读(933) | 评论(0) | 转发(0) |
0

上一篇:库文件参数

下一篇:TSM回收磁带

给主人留下些什么吧!~~