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,就不会使用自动分配的通道配置了