Forum Discussion

jayaram226's avatar
jayaram226
Level 4
12 years ago

Policy Information.

Hi All,

I have a doubt in getting Policy Informations.

Is it possible to collect the List of Policies running at a Particular time..??

 

For instance,

I need to find the list of policies running at 5-6 am everyday..

 

help me out here..

 

Thanks and Regards,

.Jayaram Balasubramanian.

  • Jaya,
     
    You may run below command which will give you output as below,
    #-> ./bppllist -allpolicies -U | egrep "Policy Name: | Daily Windows: | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday" | more
    
    
    Policy Name:       TestBackup
    
              Friday     20:00:00  -->  Monday     06:00:00
    
              Tuesday    00:00:00  -->  Tuesday    06:00:00
    
              Wednesday  00:00:00  -->  Wednesday  06:00:00
    
              Thursday   00:00:00  -->  Thursday   06:00:00
    
              Friday     00:00:00  -->  Friday     06:00:00
    
              Saturday   00:00:00  -->  Saturday   06:00:00
    
    Policy Name:       TestBackup2
    
              Friday     20:00:00  -->  Monday     06:00:00
    
              Tuesday    00:00:00  -->  Tuesday    06:00:00
    
              Wednesday  10:30:00  -->  Wednesday  16:00:00
    
              Thursday   00:00:00  -->  Thursday   06:00:00
    
              Friday     00:00:00  -->  Friday     06:00:00
    
              Saturday   00:00:00  -->  Saturday   06:00:00
     
    Note:    Here from the schedule timing you can get the policy segregated which starts from 5pm.
    This would help you.
     

8 Replies

  • You can get a full policy list using

    bppllist -allpolicies -U and gather the infrmation from there

    Alternatively you can use nbpemreq with the predict / predict_all / due switches but it doesn't exactly pin it down for a one hour period, just a single time

    The other option is to run a client backups report which will give you the historical data so that you can see what ran when as it gives a start time and end time ... or a Status of backups report which shows you what is in the activity monitor so that you can see what runs when.

    Hope this helps

  • Thanks Mark, I treid bppllist -allpolicies -U, it gives me the complete information...with that I wil try to figure out the required policies..will try the other options and update here..

     

    Thanks!

     

     

     

    Thanks and Regards,

    .Jayaram Balasubramanian.

  • You can also go to a Windows Admin Console - click on Summary of all Policies - then click on the header row where it says something like 250schedules ... this exoands just the schedule part and you can scroll down you list of schedules and see all of the time windows to see those that start when

    Just select the first schedule and its window opens in the top part.

    By default it hides its schedule name so right click on the column that has name, type, start window etc. then select columns - layout and highlight polic, click the blue square at the top to show it and move it to where you want it ... this way you can scroll through them all quite quickly and see which policy they realate to

    Hope this helps

  • If you just want to do this once, not every day, you can also use the Filter option in the Activity Monitor to see all the jobs, and therefore the policies, that were running during that timeframe:

    1. Right-click in the activity monitor and select Filter
    2. Click Advanced tab
    3. Field="Start Time", Comparison="before", value="06/21/2013 06:00:00"
    4. Click "Add to List"
    5. Field="End Time", Comparison="after", value="06/21/2013 05:00:00"
    6. Click "Add to List"
    7. Select "Match items that contain ALL of the criteria (AND)"
    8. Click OK

    You might also be able to do something similar with OpsCenter's Job Browser report.

  • Jaya,
     
    You may get this information by Schedule windows defined in policy.
    Find the policy which contains schedule starts during the time frame "5-6 am". Some may found with schedule start at 5, some at 530 some at 6 etc.....
    This way you can get the list of policy runs during 1 hour.
     
    To verify you can check it with NBU client backup report just to make it double sure. Hope this could sort out your concern.
  • HI all,

    I tried the steps mentioned out here..and it worked.

    thanks!

    Do we have any method to do it in CLI.

     

    Thanks and Regards,

    .Jayaram Balasubramanian.

  • Jaya,
     
    You may run below command which will give you output as below,
    #-> ./bppllist -allpolicies -U | egrep "Policy Name: | Daily Windows: | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday" | more
    
    
    Policy Name:       TestBackup
    
              Friday     20:00:00  -->  Monday     06:00:00
    
              Tuesday    00:00:00  -->  Tuesday    06:00:00
    
              Wednesday  00:00:00  -->  Wednesday  06:00:00
    
              Thursday   00:00:00  -->  Thursday   06:00:00
    
              Friday     00:00:00  -->  Friday     06:00:00
    
              Saturday   00:00:00  -->  Saturday   06:00:00
    
    Policy Name:       TestBackup2
    
              Friday     20:00:00  -->  Monday     06:00:00
    
              Tuesday    00:00:00  -->  Tuesday    06:00:00
    
              Wednesday  10:30:00  -->  Wednesday  16:00:00
    
              Thursday   00:00:00  -->  Thursday   06:00:00
    
              Friday     00:00:00  -->  Friday     06:00:00
    
              Saturday   00:00:00  -->  Saturday   06:00:00
     
    Note:    Here from the schedule timing you can get the policy segregated which starts from 5pm.
    This would help you.
     
  • Thanks all, who helped me in this doubt.

    Thanks to Mark_solutions, RonCaplinger and Netbackup_user, for providing such a different views for my doubt.

    thanks a lot guys..

     

    Thanks and Regards,

    .Jayaram Balasubramanian.