CalgaryCR9
Technical User
In my backup script I have the line:
/opt/openv/netbackup/bin/admincmd/bperror -L -U -backstat -by_statcode -hoursago 20
This line generates output similar to:
0 the requested operation was successfully completed
server1 server2 server3 server4 server5
84 media write error
server6 server7
How can I compare the list of servers reporting in the above command to a list of active policies? I'm trying to have a one or two line output that says:
server6 server 7 server8 server9 did not backup
The line I'm currently using does not necessarily get active policies that didn't attempt to backup.
Alternatively I'd like a word count of the number of active policies vs the number of successful backups.
NB 6.0MP4 on Solaris 9
/opt/openv/netbackup/bin/admincmd/bperror -L -U -backstat -by_statcode -hoursago 20
This line generates output similar to:
0 the requested operation was successfully completed
server1 server2 server3 server4 server5
84 media write error
server6 server7
How can I compare the list of servers reporting in the above command to a list of active policies? I'm trying to have a one or two line output that says:
server6 server 7 server8 server9 did not backup
The line I'm currently using does not necessarily get active policies that didn't attempt to backup.
Alternatively I'd like a word count of the number of active policies vs the number of successful backups.
NB 6.0MP4 on Solaris 9