Oracle Error RMAN-06530: CHANGE … KEEP LOGS not supported for backup set which contains archived logs

Oracle Error Message

RMAN-06530: CHANGE … KEEP LOGS not supported for backup set which contains archived logs

Reason for the Error

The CHANGE BACKUPSET … KEEP command was entered, but the BACKUPSET contains archived logs. Backup sets with archived logs cannot have KEEP attributes.

Solution

Do not specify backup set with archived logs for the CHANGE BACKUPSET … KEEP command.