Initiating a script-based Oracle backup from Netbackup
Hello,
I'm trying to back up an Oracle database using a script-based policy, but I'm a little fuzzy on how to schedule the thing.
If I want to fire off a backup using a schedule, then I create a shcedule using 'Full', and the script dutifully begins at the moment requested, but when it starts to come back it's using the Default-Application-Backup schedule, and so it just writes wherever it wants with the retention period it wants.
If I want a backup to be initiated by the netbackup, do I need to create an Application Policy schedule for each of my other schedules so I can aplly the right SLP?
Thanks,
Tom
The basic scripts come with netbackup.
My unix scripts are two pieces, a *.sh and a *.rcv
The policy backup selection is the path to the .sh script, it calls the appropriate .rcv script.
For schedules, yes there should be two:
I name the Full backup "Parent.Job" and the Application backup "Child.Job"
The child should be set to run 24/7, the parent should have the actual schedule.
Using standard naming allows filtering for parents, or using the backup_exit_notify to ignore child jobs and alert on parents only.