623.You issued the following commands to configure setting in RMAN;
RMAN> CONFIGURE DEVICE TYPE sbt PARALLELISM 1;
RMAN> CONFIGURE DEFAULT DEVICE TYPE TO sbt;
RMAN> CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE sbt TO 2;
RMAN> CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE sbt TO 2;
RMAN> CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 2;
Then you issued the following command to take the backup:
RMAN> BACKUP DATABASE PLUS ARCHIVELOG;
Which statement is true about the execution of the above command?
A. The backup will terminate because the FORMAT clause was not configured for the channel
B. It backs up two copies of data files to tape and disk, and two copies of archived log file on tape
C. It backs up the data files and archived log files to disk, making two copies of each data file and archived log file
D. It backs up the data files and archived log files to tape, making two copies of each data file and archived log file
Answer: D
答案解析:
根据如上的配置来执行BACKUP DATABASE PLUS ARCHIVELOG,备份数据库文件和归档日志文件。D的描述正确。
题中配置默认备份到磁带,BACKUP DATABASE PLUS ARCHIVELOG是把数据文件和归档日志都备份到磁带。
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE sbt TO 2;两个数据文件副本备份到磁带
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE sbt TO 2;两个归档日志文件备份到磁带。
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 2;因为之前配置的默认的是备份到磁带,故这个配置没起作用。