cancel
Showing results for 
Search instead for 
Did you mean: 

Netbackup 6.5.x: single policy, multiple schedules, multiple backup selections

MaJo
Level 3
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 :)

Regards,
MaJo
10 REPLIES 10

Claudio_Veronez
Level 6
Partner Accredited
Hi there, usually the schedulle runs a policy at pre determinated time.

U cand make 3 policels.
like

mssql-online-full
mssql-online-diff
mssql-online-log

and put all servers w/ the particula type of backup U need.


MaJo
Level 3
Claudio,

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.

David_McMullin
Level 6
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!


Claudio_Veronez
Level 6
Partner Accredited
I will try something like

Create a policy for achive/log
create all clients the bch template.

put et the policy all clients  each one  w/ the template.

I'll see how it works.


I hope it help



Claudio_Veronez
Level 6
Partner Accredited
a single policu should dificult the troubleshot .

example.. a single policy for 100 servers,

if just one server got an error..
that policy won't appear as status 0

I sugest U a policy  for each client (or  type of backup)

U can create one, copy to new, change the client and the template.


just my opinion..
I'm a little newbie here,


David_McMullin
Level 6
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!

MaJo
Level 3
David,

Thanks a lot!
I had no idea about the script logic.
Could you point me toward documentation about this?

Sounds like this is exactly what i'm looking for.

--Edit:
I found keywords to be used in BCH files in the SQL admin guide (http://seer.entsupport.symantec.com/docs/290212.htm).
I only have to find out how to properly incorporate them in my script

MaJo
Level 3
David,

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.

Alexis_Gonzalo_
Level 4
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\)

http://seer.entsupport.symantec.com/docs/290204.htm (Windows)
http://seer.entsupport.symantec.com/docs/290202.htm (Unix/Linux)

MaJo
Level 3
Alexis,

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.

your help is much appreciated.