cancel
Showing results for 
Search instead for 
Did you mean: 

report to get list of scheduled backups

Svikash
Level 2

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

1 ACCEPTED SOLUTION

Accepted Solutions

mph999
Level 6
Employee Accredited

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

 

View solution in original post

8 REPLIES 8

mph999
Level 6
Employee Accredited

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

 

Nicolai
Moderator
Moderator
Partner    VIP   

touche :)

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

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.

mph999
Level 6
Employee Accredited

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 ...)

mph999
Level 6
Employee Accredited
.

Svikash
Level 2

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?

 

mph999
Level 6
Employee Accredited

For the storage, look in th epolicy to see what storage unit is set.

bppllist <policyname> |grep ^RES |awk '{print $2}'

Jim-90
Level 6

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.