In this post, we are going to share how to check the backup status in netbackup.
bpps command you can use to check the status of backup on the client. We will share three sample output of bpps to make it more clear.
You must be aware of the ps command which almost works in each operating system .
For example, like Linux Solaris AIX HP-UX ps is used for displaying process status server.
bpps command for netbackup you can say is the extension of ps especially for verifying all the processes running related to netbackup.
bpps command in netbackup with examples
So let us explore the bpps command in netbackup with examples to explore more.
Syntax of bpps commands in netbackup is as below.
First Output
# /usr/openv/netbackup/bin/bpps -h USAGE: bpps [-a | -x | [ {[-n] [-3]} [-f] ]]
Now let us see a few examples of the bpps command.
# /usr/openv/netbackup/bin/bpps root 4005 1 0 Jul18 ? 00:01:01 /usr/openv/netbackup/bin/vnetd -proxy inbound_proxy -number 0 root 4006 1 0 Jul18 ? 00:00:38 /usr/openv/netbackup/bin/vnetd -proxy outbound_proxy -number 0 root 4062 1 0 Jul18 ? 00:15:44 /usr/openv/netbackup/bin/vnetd -standalone root 4083 1 0 Jul18 ? 00:02:03 /usr/openv/netbackup/bin/bpcd -standalone root 4163 1 0 Jul18 ? 00:03:14 /usr/openv/netbackup/bin/nbdisco
You can use bpps without any switch which will give you the netbackup process running on the client at the moment.
Let us see -a switch which will give you all the process related to netbackup. You will not find much difference in output as this is taken when no backup is in running state.
2nd Output
# /usr/openv/netbackup/bin/bpps -a NB Processes ------------ root 4005 1 0 Jul18 ? 00:01:01 /usr/openv/netbackup/bin/vnetd -proxy inbound_proxy -number 0 root 4006 1 0 Jul18 ? 00:00:38 /usr/openv/netbackup/bin/vnetd -proxy outbound_proxy -number 0 root 4062 1 0 Jul18 ? 00:15:44 /usr/openv/netbackup/bin/vnetd -standalone root 4083 1 0 Jul18 ? 00:02:03 /usr/openv/netbackup/bin/bpcd -standalone root 4163 1 0 Jul18 ? 00:03:14 /usr/openv/netbackup/bin/nbdisco
Now let us see a -x switch which is the most preferred way to check the status of netbackup functionality as it will give more idea about processes related to netbackup.
3rd Output
# /usr/openv/netbackup/bin/bpps -x NB Processes ------------ root 4005 1 0 Jul18 ? 00:01:01 /usr/openv/netbackup/bin/vnetd -proxy inbound_proxy -number 0 root 4006 1 0 Jul18 ? 00:00:38 /usr/openv/netbackup/bin/vnetd -proxy outbound_proxy -number 0 root 4062 1 0 Jul18 ? 00:15:44 /usr/openv/netbackup/bin/vnetd -standalone root 4083 1 0 Jul18 ? 00:02:03 /usr/openv/netbackup/bin/bpcd -standalone root 4163 1 0 Jul18 ? 00:03:14 /usr/openv/netbackup/bin/nbdisco Shared Veritas Processes ------------------------- root 1028 1 0 Jul18 ? 00:00:03 /opt/VRTSpbx/bin/pbx_exchange
That`s it about how to check backup status in netbackup. I hope you will find it handy if you have to check if the backup process is up and running.
Also, you can find the PID of any running backup and kill if needed without going to the netbackup GUI-based console.