272.You issue the following RMAN command to set a retention policy on a database:
The safer , easier way to help you pass any IT exams.
78 / 181
RMAN>CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
What will be the outcome of issuing this command?
A. After two days, a backup will be marked obsolete
B. After two days, a backup will be deleted from the media
C. If the RMAN repository has records of two or more recent backups of a file, then older backups will be
deleted from the media.
D. If the RMAN repository has records of two or more recent backups of a file, then older backups will be
marked obsolete.
Answer: D
答案解析:
Configuring a Redundancy-Based Retention Policy
The
REDUNDANCY
parameter of the CONFIGURE
RETENTION
POLICY
command specifies how many full or level 0 backups of each data file and control file that RMAN should keep. If the number of full or level 0 backups for a specific data file or control file exceeds the
REDUNDANCY
setting, then RMAN considers the extra backups as obsolete. The default retention policy is
REDUNDANCY 1
.
官方参考:http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmconfb.htm#i1019345