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

difference

Created: 13 May 2013 • Updated: 23 May 2013 | 12 comments
This issue has been solved. See solution.

Hi ALL,

We have an activity in our environment of OS upgrade.We dont want much failures.so we are plannning to deactivate the policies.

Please let me know the difference between below: due  date and predict date:

For example

nbpemreq -predict -date 09/23/2010 12:00:00
Predicted work assuming no job run between now and Thu Sep 23 12:00:00 2010

to include dates/times

nbpemreq -due -date 09/23/2010 12:00:00

-due

Provides data about the clients or policies that are scheduled to run by the time specified. The data that is displayed is based on the current time and afuture date. Time is indicated bymm/dd/yyyy HH:MM:SS

is there syntax of nbpemreq which can give policies to run between 05/14/2013 00:00:00  --05/15/2013 00:00:00

Comments 12 CommentsJump to latest comment

Yasuhisa Ishikawa's picture

I'm not sure how diffrenent these are, but you should keep your keys on this decriptions in Commands Reference.

Entract from "-predict" option:

This option also helps determine why a policy has not run. The difference between the options is the output format and the amount of data presented. It shows the backups that are eligible to run, but it does not indicate which jobs are to run at a specific time. It checks for an open window for the backup, but does not reflect any of the exclude dates that might be set for the schedule.

Authorized Symantec Consultant(ASC) Data Protection in Tokyo, Japan

Arun K's picture

Hi ALL,

Please provide an update.

Activity has beeen scheduled to 20th May.Please

Will Restore's picture

Not sure what you are asking but our backup jobs generally run between 6PM and 6AM so we schedule OS updates after 7AM to avoid any conflict.  We don't try to predict what backups are going to run.  We let them run normal schedule and if any happen to fail, just restart them. 

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

Stumpr2's picture

is there syntax of nbpemreq which can give policies to run between 05/14/2013 00:00:00 --05/15/2013 00:00:00......that's 24 hours. Every daily backup should run within a 24 hour period.

VERITAS ain't it the truth?

Arun K's picture

we have a huge environment more that 1500 clients.Backup runs all the day.thats why asking.

@stumper:I want to know the command which can give me the backup that will be  run between 16 th may and  20th may.and diff between due and predict.

mph999's picture
For the difference between the two commands, run both and have a look.
 
In fact you answered this question yourself, the nbpemreq -due -date <date>  option, includes the date/time of when the backup should run whereas the other option does not.
 
You cannot specify the command to report between two dates, only between 'now' (when you run the command' and one date in the future.
 
Martin
Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Mark_Solutions's picture

So you have 1500 clients and backups run all day - the activity is planned for 20th May

So how long will the system be down for? Will it be easier to take NetBackup down until it is all done or is it to be done on a phased approach?

Maybe the easiest way to see what will run when will be to look back rather than forward.....

So all policies use repeating schedules - you want to look at the backups that run between 16th and 20th May - so i would suggest you look at the backups that ran between 9th and 13th May - chances are they will be the same backups that ran last week as will run this week

A client backups report will do this for you easily and as well as showing what ran when it shows you how long each backup ran for to give an idea of which client will be available when.

Just check out the problems report for the same period to check out any that also failed so that you can add those to your list

Hope this helps

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

Stumpr2's picture

suspend the scheduler from starting new backups with the command:

%INSTALL_PATH%\NetBackup\bin\admincmd\nbpemreq -suspend_scheduling

Restart scheduling with

%INSTALL_PATH%\NetBackup\bin\admincmd\nbpemreq -resume_scheduling

NOTE: This will NOT prevent manual or User backups from running...

only those kicked off by the scheduler

VERITAS ain't it the truth?

Marianne's picture

Possibly easier to offline clients that will be upgraded during that period.

See your other post:

https://www-secure.symantec.com/connect/forums/command-make-client-offline-netbackup 

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

Arun K's picture

Still I am unable to get the difference between due and predict..

Marianne's picture

They only way to know the difference is to have a look at the output of both options.

Please run command with both options and post the output here.

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

Mark_Solutions's picture

From the guide:

-due
Provides data about the clients or policies that are scheduled to run by the
time specified. The data that is displayed is based on the current time and a
future date. Time is indicated bymm/dd/yyyy HH:MM:SS or by a UNIX
timestamp.

-predict
Helps determine when a policy is to be run. The displayed information is
based on the current time and a future date. Time is indicated by mm/dd/yyyy
HH:MM:SS or by a UNIX timestamp.
This option also helps determine why a policy has not run. The difference
between the options is the output format and the amount of data presented.
It shows the backups that are eligible to run, but it does not indicate which
jobs are to run at a specific time. It checks for an open window for the backup,
but does not reflect any of the exclude dates that might be set for the schedule.

And that is the best explanation you will get really!

So that covers the first part of your question and the second part about using the command with between dates has already been answered as No

Please close off the thread when you can as i think it has all been answered for you now

Thanks

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

SOLUTION