06-27-2014 04:59 AM
Hi,
I am using netbackup 7.5.0.6. Is there a report on netbackup to get the list of backups that are scheduled on a particular date?
Or is there a command and then dump it on a text file.
Thks,
Vikash
Solved! Go to Solution.
06-27-2014 05:16 AM
nbpemreq -predict -date mm/dd/yyy [-client_filter <clientname>]
or
nbpemreq -predict_all -date mm/dd/yyyy [-client_filter <clientname>]
See nbpemreq in commands guide for other options
Eg.
root@womble 140627 $ nbpemreq -predict -date 06/27/2014 -client_filter womble
Predicted work assuming no job run between now and Fri Jun 27 23:59:59 2014
rl client policy schedule type
-- -------------------- -------------------- -------------------- ----------
11 womble womble_sp1 full 0
06-27-2014 05:16 AM
nbpemreq -predict -date mm/dd/yyy [-client_filter <clientname>]
or
nbpemreq -predict_all -date mm/dd/yyyy [-client_filter <clientname>]
See nbpemreq in commands guide for other options
Eg.
root@womble 140627 $ nbpemreq -predict -date 06/27/2014 -client_filter womble
Predicted work assuming no job run between now and Fri Jun 27 23:59:59 2014
rl client policy schedule type
-- -------------------- -------------------- -------------------- ----------
11 womble womble_sp1 full 0
06-27-2014 05:31 AM
touche :)
06-27-2014 05:38 AM
Please note that 'nbpemreq -predict.......' will report on backups due to start between 'now' and the date/time that you specify.
There is no option to show backups due on a specific date or a date range.
06-27-2014 07:27 AM
Even better ... (if you are on Unix/ Linux)
nbpemreq -subsystems 41 screen |egrep 'PolicyClient|Start'
or
nbpemreq -subsystems 41 screen |awk '/PolicyClient|Start/{print $0}'
Gives ...
PolicyClient::data_1/womble Task
PolicyClient::womble_stage/womble Task
PolicyClient::mhwin2008/mhwin2008 Task
PolicyClient::win/mhwin2008 Task
PolicyClient::womble_meso/womble Task
PolicyClient::nick-test/qtpdmedia Task
PolicyClient::womble_cal/womble Task
Start: 2014/07/17 23:25:00 (1405635900)
PolicyClient::womble_sp1/womble Task
Start: 2014/07/01 02:00:00 (1404176400)
PolicyClient::__DSSU_POLICY_basic_disk_1/womble Task
PolicyClient::womble_slp/womble Task
PolicyClient::womble_tape/womble Task
(Only two policies have windows available to them ...)
06-27-2014 12:13 PM
06-30-2014 02:34 AM
Hi Martin,
Thks.
using nbpemreq -predict_all -date 06/30/2014, i am able to get client/policy/schedule/type/due time
In addition, how can I get the storage where the backup will be done?
07-01-2014 02:06 PM
For the storage, look in th epolicy to see what storage unit is set.
bppllist <policyname> |grep ^RES |awk '{print $2}'
07-03-2014 12:50 PM
Last time I looked nbpemreq didn't work for VM boxes that were selected by rules using a vmquery.
You could get a list of policies from nbpemreq then run the query in the sctipt to get a listing of VM boxes that will be backed up in the policy.