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
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26136400/viewspace-710014/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26136400/viewspace-710014/
本文提供了一个简单的示例,展示了如何查看和设置RMAN备份环境参数,包括保留策略、优化备份、默认设备类型、控制文件自动备份等,并演示了如何配置磁盘和SBT设备的并行化。
阿姆斯特丹.jpg
817

被折叠的 条评论
为什么被折叠?



