05-30-2014 03:54 AM
Hi All,
We have no. of DFSR Backup policies for one server. We wants to execute the policies one after another. After job completion of 1st policy next policy has to triggered.
Is there any technique to execute such scenario in netbackup.
We are using Netbackup 7.1
Thanks in Advance.
Solved! Go to Solution.
05-30-2014 06:07 AM
Problem is that bpend runs on the client.
I have been wondering why different policies are needed...
Why not single policy with
'Allow multiple data streams',
multiple entries in Backup Selection
Max jobs per Policy for this policy set to 1
?
This way only one entry in Backup Selection will run, complete, then start the next.
05-30-2014 04:14 AM
Not that I know off
Best workaround I can think off is giving the different policies different priority and ensure each policy start time is large enough to ensure the previous job reached end state.
e.g.
Policy1 : Priority 99999 start 18:00
Policy2: priority 55555 start 22:00
Policy3: priority 0 start 05:00
However you can end up where both policy1 and policy2 is running concurrent if resources are limited. The priority diffrence will to a certain degree ensure policy1 is run before policy2 or policy3 (but not prevent it from running concurrent).
You could also as a further step create a storage unit with max job set to 1 or 2 (be aware of control job with schedule "-") and assign all DFSR policies to that storage unit.
http://www.symantec.com/docs/HOWTO86314
05-30-2014 05:33 AM
You could run your first backup, then have a bpend.notify script to execute after it's finished that runs policy2, then after that policy finishes another than runs policy3 etc - basically daisy chained bpend_notify ?
bit messy in my opinion
05-30-2014 06:07 AM
Problem is that bpend runs on the client.
I have been wondering why different policies are needed...
Why not single policy with
'Allow multiple data streams',
multiple entries in Backup Selection
Max jobs per Policy for this policy set to 1
?
This way only one entry in Backup Selection will run, complete, then start the next.
05-30-2014 01:41 PM
Marianne's solution makes more sense. Can you give us more information as to why you are using mutlipe policies?
Sully
05-31-2014 05:21 AM
Why run them serialized at all :)
05-31-2014 06:28 AM
05-31-2014 06:48 AM
From my own experience you should run no more than two concurrent backup streams from a DFS-R area. Running more stream will cause all sort of failures.
05-31-2014 11:50 AM
Please show us your policies (bppllist <policy-name> -U) and tell us which technote you are referring to?
This TN explains backup options of DFSR:
Backup and Restore of Microsoft DFSR data using Symantec NetBackup
http://www.symantec.com/docs/HOWTO65638
06-05-2014 11:22 PM
Thank you all. Issue is resolved now. I implemented the idea suggested by Marianne. Daily backups are working fine. I have to keep eye on Weekly full backup. :)