Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Nbpemreq information

Created: 22 Jul 2013 | 5 comments

I'm attempting to use the nbpemreq command to validate policy changes I made today and changed the effective date to today.  I want to see if certain jobs will kick off Friday evening and Saturday evening.  I'm using the following command:

nbpemreq -predict_all -date 07/26/2013

nbpemreq -predict_all -date 07/27/2013

Is there anyway to show just the single day? Do I have to wait until the day to run the command?

Thanks,

Stan

Operating Systems:

Comments 5 CommentsJump to latest comment

Will Restore's picture

you can filter, like this

nbpemreq -predict_all -date 07/27/2013 | grep Fri

Will Restore -- where there is a Will there is a way

stanl10's picture

I did forget to add I'm using Windows Server 2008 R2.

Will Restore's picture

ok, try this

nbpemreq -predict_all -date 07/27/2013 | findstr "Fri"

Will Restore -- where there is a Will there is a way

Marianne's picture

You cannot use nbpemreq to list jobs between 2 dates.

It will list the first jobs that will kick off between 'now' and date/time given with nbpemreq.
If you have for example a job that runs every 2 hours, it will only show the job that will kick off within 2 hours.
Next job is only calculated upon completion of the 1st job.

Hope this helps.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Omar Villa's picture

You can try to update NBPEM with nbpemreq -updatepolicies to reread your changes, normaly NBPEM checks for changes based on the policy update interval and this happens around every 10 mins, so if the backup is not scheduled to happen in the next 10 mins after the change, NBPEM schedule will be modified and your change will go through.

Hope this helps.

REgards.

Omar Villa

Netbackup Expert

Twiter: @omarvillaNBU