cancel
Showing results for 
Search instead for 
Did you mean: 

difference

Arun_K
Level 6

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

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Mark_Solutions
Level 6
Partner Accredited Certified

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

View solution in original post

12 REPLIES 12

Yasuhisa_Ishika
Level 6
Partner Accredited Certified

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.

Arun_K
Level 6

Hi ALL,

Please provide an update.

 

Activity has beeen scheduled to 20th May.Please

Will_Restore
Level 6

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. 

Stumpr2
Level 6

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.

Arun_K
Level 6

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
Level 6
Employee Accredited

 

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

Mark_Solutions
Level 6
Partner Accredited Certified

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

Stumpr2
Level 6

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

Marianne
Level 6
Partner    VIP    Accredited Certified

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 

Arun_K
Level 6

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

Marianne
Level 6
Partner    VIP    Accredited Certified

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.

Mark_Solutions
Level 6
Partner Accredited Certified

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