Configuring the RMAN Environment

本文提供了一个简单的示例,展示了如何查看和设置RMAN备份环境参数,包括保留策略、优化备份、默认设备类型、控制文件自动备份等,并演示了如何配置磁盘和SBT设备的并行化。

DBA Notes: 2011/09/30

Cheng Li

 

Configuring the RMAN Environment

 

This part gives a simple example how to review and set RMAN backup environment.

To view or change your CONFIGURE command settings:

You can use the SHOW command to display the current value of RMAN configured settings for the target database. You can also view whether these commands are currently set to their default values.

Start RMAN and connect to a target database and a recovery catalog (if used).

Run the RMAN SHOW command.

RMAN>SHOW ALL;

RMAN configuration parameters for database with db_unique_name PROD1 are:

CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;

CONFIGURE BACKUP OPTIMIZATION ON;

CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default

CONFIGURE CONTROLFILE AUTOBACKUP ON;

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default

 

Configuring Channel Parallelism for Disk and SBT Devices

RMAN> CONFIGURE DEVICE TYPE sbt PARALLELISM 2;

old RMAN configuration parameters:

CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;

new RMAN configuration parameters:

CONFIGURE DEVICE TYPE 'SBT_TAPE' BACKUP TYPE TO BACKUPSET PARALLELISM 2;

new RMAN configuration parameters are successfully stored

 

Reference:

http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmconfb.htm#i1014902

fj.png阿姆斯特丹.jpg

fj.png阿姆斯特丹2.jpg

fj.png阿姆斯特丹3.jpg

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

转载于:http://blog.itpub.net/26136400/viewspace-710014/

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值