Is it possible, or will it be possible in future versions, to create a single policy with multiple schedules, where the different schedules call a specific backup selection?
Specifically SQL backups, with wich i am currently toying.
As far as i can tell there is no way to assign a specific backup selection (.bch) to a schedule.
If this is not ppossible, consider this a feature request :)
Thank you for your comment.
I was afraid i had to use several policies to achieve this.
I was hoping it would be possible within a single policy.
Hopefully this could be implemented in future a release.
MaJo - Since you are calling a script - you can set your script logic to have multiple paths and choose what you want to do at run time -
so your bch script would do a date/time check and call the full / diff / incremental section of your script.
You should already have logic in place to check to see if another backup is already running on that server / database so you don't have problems because of that.
You can add logic to check if a full has been run before trying a diff/ incremental as well!
You actually have a variable in the scripts that notes the policy - so you can make seperate policies and call them from one script.
So your one script can check and call policyA to send to robotA or call policyB to send data to robotB - you get to program that!
You wouldn't have an example lying around for me to review?
I found the keywords POLICY and NBSCHED, wich i think should help me.
But i can't find any examples exactly how to use it.
Any help in this department would be greatly appreciated.
I agree that what should distinguish one policy from another is precisely the backup selection.
As for the script, try the Administrator's Guide Volume 2, and search for "bpstart_notify" and "bpend_notify" documentation.
I think there is a template of those scripts in /usr/openv/netbackup/bin/goodies (C:\Program Files\Veritas\NetBackup\bin\goodies\)
Thank you, I'll look into it.
You're right about the backup selection setting the policy apart.
In my case specifically, I'm setting up a policy for a single server. The backup selection is mostly the same, apart from diff/full, schedule and retention. Therefore i'd like to contain it to a single policy.