cancel
Showing results for 
Search instead for 
Did you mean: 

Netbackup command required to get one client's backup status

netbackup_toddl
Level 3

Hi,

Is there any command available in Netbackup to get a particular client's backup status for a given period of time. 

I checked with bpdbjobs or bperror. No command is taking client_name as a parameter.

Any suggestion?

 

Cheers,

SS

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
C:\>bperror -help
USAGE: bperror {-S|-statuscode status_code}
           [-r|-recommendation] [-v]
       bperror  [-all|-problems|-media|-tape]
           [-disk|-BasicDisk|-NearStore|-SnapVault|
            -DiskPool]
           [{-backstat [-by_statcode]}-L|-l|-U] [-columns ncols]
           [-d mm/dd/yyyy HH:MM:SS|-hoursago hours] [-e mm/dd/yyyy HH:MM:SS]
           [-client client_name] [-server server_name]
           [-jobid job_id] [-jobgroupid job_group_id]
           [-M master_server,...] [-v]
   ......
 
So, status report for particular client for specific period:
 
bperror -client <name> -backstat -d mm/dd/yyyy -e -d mm/dd/yyyy 
 
Oh, you may want to add -U or -L (the default is -l).

View solution in original post

2 REPLIES 2

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
C:\>bperror -help
USAGE: bperror {-S|-statuscode status_code}
           [-r|-recommendation] [-v]
       bperror  [-all|-problems|-media|-tape]
           [-disk|-BasicDisk|-NearStore|-SnapVault|
            -DiskPool]
           [{-backstat [-by_statcode]}-L|-l|-U] [-columns ncols]
           [-d mm/dd/yyyy HH:MM:SS|-hoursago hours] [-e mm/dd/yyyy HH:MM:SS]
           [-client client_name] [-server server_name]
           [-jobid job_id] [-jobgroupid job_group_id]
           [-M master_server,...] [-v]
   ......
 
So, status report for particular client for specific period:
 
bperror -client <name> -backstat -d mm/dd/yyyy -e -d mm/dd/yyyy 
 
Oh, you may want to add -U or -L (the default is -l).

netbackup_toddl
Level 3

Hi Marianne,

Thanks for your post. Yah I got that as well. I am using below command now:

bperror -U -columns 400 -hoursago 240 -client client_name|grep "EXIT STATUS"|awk '{print $1", "$2", "$3", "$6", " $8", "$10", "$13}'|