Veritas-bu

[Veritas-bu] determining if a backup or netbackup database backup is occuring from the command line.

2001-12-06 10:48:17
Subject: [Veritas-bu] determining if a backup or netbackup database backup is occuring from the command line.
From: Ryan.Anderson AT udlp DOT com (Ryan Anderson)
Date: Thu, 06 Dec 2001 09:48:17 -0600
I don't know of one, but something along the lines of:

bpdbjobs -report | grep Active | grep <classname>
if [ $? -eq 0 ]; then
    echo "<classname> backup is running!"
fi

should get you what you want for a backup is running. To determine if a NBU 
database backup is occuring, just change the first line to:

ps -ef|grep bpbackupdb


RCA

--
Ryan C. Anderson
Unix Administrator
United Defense L.P.
desk   763.572.6684
pager 952.235.9936

>>> "Marvin Blackburn" <mblackburn AT glenraven DOT com> 12/06/01 08:51AM >>>
Is there a command or way to determine from a script (unix/veritas 3.2) if a
backup is currently running or if the netbackup database backup is running?

------------------
Marvin Blackburn
Systems Administrator
Glen Raven
336-586-1200
"He's no failure.  He's not dead yet" --William Lloyd George

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu 
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu