Ok, I've been on a roll with Oracle lately. Its like every time we start up a new set of hot Oracle backups, something different goes wrong.
The setup:
I have 2 calendar based schedules, one to run every day of the month except for one, and another to run that one day of the month. The end goal is to send that one tape offsite (I dont know why, since the data will be nearly worthless to restore but anyway), so I need a separate policy to make sure it is duplicated appropriately.
Lets say the policy names are:
Oracle_hot_backup_daily
Oracle_hot_backup_monthly
I noticed that the images from the monthly backup were not getting duplicated. When I further investigated the issue, I found that the reason the images were not getting duplicated via the correct profile - when the Oracle_hot_backup_monthly ran, it kicked off child streams (the default-application backup streams) through the Oracle_hot_backup_daily policy. When a different profile ran, it picked up all of the default application backup streams for Oracle_hot_backup_daily, sending them to a completely different pool then where they need to be.
I consulted with a colleague who stated we would probably need to have separate rman scripts for the two policies, but I'm not sure how to hard-code the policies in. Also, if anyone might know of a reason as to why the daily policy is being initiated through the monthly policy, please let me know - I'm not really sure how Oracle passes this information back to NBU.
We are using the same backup script right now for both policies.
Master is at 6.5.4 running solaris 10, clients are solaris 10, running at 6.5.2