053-88

本文深入探讨了在Oracle数据库中使用RMAN进行备份时,如何配置并理解闪回恢复区(FRA)作为默认备份目标,以及如何手动分配通道进行自定义备份位置设置。通过实例展示了配置通道与自动分配之间的差异,强调了手动分配将覆盖自动配置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

In your database, the flash recovery area (FRA) is configured as the default for RMAN backups. You executed the following commands to configure the settings in RMAN:

RMAN> CONFIGURE DEVICE TYPE disk PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
RMAN>CONFIGURE CHANNEL 1 DEVICE TYPE disk FORMAT
'/home/oracle/disk1/%U';
RMAN>CONFIGURE CHANNEL 2 DEVICE TYPE disk
FORMAT '/home/oracle/disk2/%U';
You issue the following RMAN command to backup the database:
RMAN> RUN

2> {
3> ALLOCATE CHANNEL ch1 DEVICE TYPE disk;
4> BACKUP DATABASE;
5> } 

Which statement is true about the outcome?
A. Only one channel is allocated and the backup is created in the flash recovery area
B. Only one channel is allocated and the backup is created in the destination specified for channel
C. Two channels are allocated and backup sets are created in the destinations specified for channels 1 and 2
D. Three channels are allocated and backup sets are created in the destinations specified for channels 1, 2, and FRA  

手动分配通道会覆盖 CONFIGURE 配置的自动分配通道,并且 rman 的备份信息会默认放在 fra 中。 ALLOCATE CHANNEL 手动分配通道,必须在 run 块中使用。在使用手动分配通道后,你不能再使用BACKUP DEVICE TYPE 或 RESTORE DEVICE TYPE 来使用自动通道,会覆盖自动通道的配置。此处指定了通道 ch1,就不会使用自动分配的通道配置了


转载于:https://www.cnblogs.com/Babylon/p/7839013.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值