Video Screencast Help

Netbackup command required to get one client's backup status

Created: 27 Aug 2013 • Updated: 27 Aug 2013 | 2 comments
This issue has been solved. See solution.

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

Operating Systems:

Comments 2 CommentsJump to latest comment

Marianne's picture
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).

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

SOLUTION
netbackup_toddler's picture

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}'|