05-13-2013 11:21 PM
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
Solved! Go to Solution.
05-23-2013 04:18 AM
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
05-14-2013 06:24 AM
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.
05-15-2013 12:31 PM
Hi ALL,
Please provide an update.
Activity has beeen scheduled to 20th May.Please
05-15-2013 12:46 PM
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.
05-15-2013 12:48 PM
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.
05-16-2013 12:23 AM
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.
05-16-2013 12:45 AM
05-16-2013 02:49 AM
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
05-16-2013 11:50 AM
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
05-16-2013 06:11 PM
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
05-18-2013 12:08 PM
Still I am unable to get the difference between due and predict..
05-18-2013 11:12 PM
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.
05-23-2013 04:18 AM
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