RMAN Backup of archived logs fails with following error:
There are a few possible causes for this error :
Invalid and/or deleted records in the controlfile. Records might be aged out of the controlfile during the backup.
The initial resync for each job identified the same set of logs to be backed up.
Both jobs were trying to backup and delete the SAME archivelog set, one of which failed eventually as the other job had
already backed up and deleted the log.
The backup command being used is correct by 'syntax', however incorrect by 'logic' because RMAN will try to backup some archivelogs (archivelogs which completed till 'sysdate-1') twice in the same command:
This backup command is interpreted by RMAN like the following:
+ Take backup of 'all' archived logs and then delete them
and
+ Take backup of archivelogs completed till 'sysdate-1'
If we don't specify 'DELETE INPUT', the command will be succeeded, however, by doing so, we will unnecessarily backing up some of the archived logs (archivelogs which completed till 'sysdate-1') twice which doesn't seem to be the intention of above command.
Run the below command to synchronize the controlfile with the current status of the backup-related information.
Make sure that concurrent backups of the archivelogs of the SAME database are not run.
Correct the RMAN backup command 'logically' by removing the repeated 'archivelog' keyword:
If we wish to take backup of all archivelogs, then:
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/13750068/viewspace-750784/ ,如需转载,请注明出处,否则将追究法律责任。