Veritas-bu

[Veritas-bu] Pre-/Post-Exec scripts with NetBackup 5.1?

2007-01-09 11:02:47
Subject: [Veritas-bu] Pre-/Post-Exec scripts with NetBackup 5.1?
From: Patrick.Whelan at colt.net (Whelan, Patrick)
Date: Tue, 9 Jan 2007 16:02:47 -0000
Ah, that's because the job had completed, which it probably won't be at the 
time the bpstart_notify script is called. :)

Patrick Whelan
NetBackup Specialist
Architect & Engineering
+44 20 7863 5243

Of all the things I've lost, I miss my mind the most! - Unknown

There are only 10 kinds of people on earth - those who understand binary
and those who don't.

... Als sie mich holten,
gab es keinen mehr, der protestieren konnte 
-- Martin Niem?ller

-----Original Message-----
From: veritas-bu-bounces at mailman.eng.auburn.edu [mailto:veritas-bu-bounces 
at mailman.eng.auburn.edu] On Behalf Of Alexander Skwar
Sent: 09 January 2007 14:16
To: veritas-bu at mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre-/Post-Exec scripts with NetBackup 5.1?

Hi!

Whelan, Patrick wrote:
> You could:
> 
> bpdbjobs -most_columns | grep backupid | awk -F, '{ print $17 }'

Hm, there's no bpdbjobs on the client :( On the master server,
I find it in  /opt/openv/netbackup/bin/admincmd. And even on
the server, bpdbjobs doesn't print what I need :(

I called the backup policy "TEST".  Now I did:

(winds03)askwar$ sudo /opt/openv/netbackup/bin/admincmd/./bpdbjobs 
-most_columns | grep TEST | tail -1
12031,0,3,0,TEST,TestSched,winds06,winds03,1168348027,0000000190,1168348217,L25_Tape_Drive_winds03_SR,1,,31744,1450,,100,22659,root,0,0,0,0,root,winds03,2,2,0,,,0,0,0,7019,,,,,,22662,,,,W011L1,1,,,1,0,0,winds06_1168348028,,

(winds03)askwar$ sudo /opt/openv/netbackup/bin/admincmd/./bpdbjobs 
-most_columns | grep TEST | tail -1 | awk -F, '{print $17}'


Hm. Nothing :( And also in the other lines printed by bpdbjobs,
there's never a directory name printed :(

(winds03)askwar$ sudo /opt/openv/netbackup/bin/admincmd/./bpdbjobs 
-most_columns  | awk -F, '{print $17}' | sort | uniq



> Caveat emptor.

Why?

Alexander Skwar
_______________________________________________
Veritas-bu maillist  -  Veritas-bu at mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


*************************************************************************************
The message is intended for the named addressee only and may not be disclosed 
to or used by anyone else, nor may it be copied in any way. 

The contents of this message and its attachments are confidential and may also 
be subject to legal privilege.  If you are not the named addressee and/or have 
received this message in error, please advise us by e-mailing security at 
colt.net and delete the message and any attachments without retaining any 
copies. 

Internet communications are not secure and COLT does not accept responsibility 
for this message, its contents nor responsibility for any viruses. 

No contracts can be created or varied on behalf of COLT Telecommunications, its 
subsidiaries or affiliates ("COLT") and any other party by email Communications 
unless expressly agreed in writing with such other party.  

Please note that incoming emails will be automatically scanned to eliminate 
potential viruses and unsolicited promotional emails. For more information 
refer to www.colt.net or contact us on +44(0)20 7390 3900.