I need to modify my rman script to run application backup 1 if the automatic schedule is called "daily", or run application schedule 2 if the automatic schedule is called "weekly". In this case, both daily and weekly are full so I can not use the $BACKUP_TYPE parameter that NB passed to the script. Is there another parameter to use in an if statement for the automatic schedule name?
I realize that from the RMAN script I send back the $SCHED_NAME parm when I chose which application schedule to run. But is any schedule value sent initially from the automatic schedule? I can't seem to find an answer on this in my documentation.
Creating dedicated policy for weekly and daily backups, if you don't mind number of policies.
Remaining NB_ORA_POLICY and NB_ORA_SCHED empty will result in using Default-Application Backup schedule of each policy; if I remember right.