QUESTION NO: 220
What is the end result of these commands if they are successful?
RMAN> show retention policy;
RMAN configuration parameters for database with db_unique_name ORCL are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
Backup database tag=‘gold_copy‘ plus archivelog
tag=‘gold_copy‘ delete input;
Backup database tag=‘silver_copy‘ plus archivelog
tag=‘silver_copy‘ delete input;
A. Attempting to restore silver_copy will fail.
B. Attempting to restore gold_copy will fail.
C. Both backups will be available for restore without question.
D. Attempting to restore gold_copy may or may not succeed.
E. You will not be able to restore either gold_copy or silver_copy.
Answer: D
Since the retention policy is set to redundancy of 1, the gold_copy backup is not required to meet the
retention criteria. Since the backup was not made in a way that will exclude or alter the retention criteria,
then the gold_copy backup is no longer needed and may be removed at any time. It is possible that it will
still be available for restore purposes, however.
如果他们是成功的这些命令的最终结果是什么?
D试图还原gold_copy可能或不可能会成功
由于设置保留策略的冗余度为1, 表示备份的冗余度为1,
就是保留最近的一份的备份(可以做数据库恢复所需要的一次备份,比如是全备)。 gold_copy备份不需要
符合保留条件。由于备份不是以排除或改变保留条件的方式, 那么 gold_copy备份不再需要,随时可能会
被删除。 然而有可能它仍然是可用于还原目的。