Veritas-bu

[Veritas-bu] Post backup scripts?

2005-03-02 12:03:29
Subject: [Veritas-bu] Post backup scripts?
From: mjungaro AT capitolindemnity DOT com (Ungaro, Matt)
Date: Wed, 2 Mar 2005 11:03:29 -0600
Thanks Mark, and to everyone else who assisted. For you, Mark, on Winderz,
you can use Blat. Nice little application for sending e-mails. Personally, I
would much rather be running Netbackup on Solaris, but have to give in to
management sometimes. 

Now to say thanks to everyone, I think using the info I have received from
various people, as well as some scripts from a production environment, I have
enough ammunition to do what I need. Thanks to everybody, I'm always amazed
at how helpful everyone on this list is.

Matt

-----Original Message-----
From: Mark.Donaldson AT cexp DOT com [mailto:Mark.Donaldson AT cexp DOT com]
Sent: Wednesday, March 02, 2005 10:42 AM
To: andre.lue-fook-sang AT thomson DOT com; Ungaro, Matt;
dave-bu AT graniteweb DOT com; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Post backup scripts?


Client, Policy, schedule, schedule type, & status code. are passed in via
positional parameters to the bpend_notify script.  These could be used by
bpimagelist to generate a report. 

The next trick would be to mail it somehow but this is NT and I'll leave
that as an exercise to the student ;).

bpimaglist -hoursago 12 -client %1 -policy %2 -sl %3 >filename

number of files & KB backed up are part of the output.

...now mail that file somehow.

-M

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of
Lue-Fook-Sang, Andre
Sent: Wednesday, March 02, 2005 7:48 AM
To: 'Ungaro, Matt'; David Rock; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Post backup scripts?


Hi Matt,

Combine what David told you with a script around "bpimagelist -A -hoursago
24" or using the the -d and -e switch to specify the time window you can get
the info you need.

The output contains client name, backup time, elapsed time, kilobytes, # of
files and more. Parsing it im not so sure about in windows but this would be
simple on unix.

Hope that helps

Andre' Lue

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Ungaro, 
Matt
Sent: Wednesday, March 02, 2005 9:19 AM
To: David Rock; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Post backup scripts?


Hi David,
        Thanks for sending that, I read it yesterday, but it's not really
giving me the information I need. I would love to be able to know how much
data was backed up. That's probably the most important thing. But from what
the Veritas Docs say, I really don't get that passed to the bpend_notify
script.

Matt

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of David Rock
Sent: Tuesday, March 01, 2005 11:21 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Post backup scripts?


* Ungaro, Matt <mjungaro AT capitolindemnity DOT com> [2005-03-01 14:30]:
> I would like to have a script run after a certain backup policy runs 
> that
can
> e-mail me the size of the amount of data backed up. I don't want to do 
> this globally for all policies. I'm running NB Enterprise 5.1 MP1 on 
> Windows Server 2003 backing up a Server 2003 client. If there's a way 
> to specify
that
> after the policy runs to run a certain VBScript, that would be great. 
> It would also be good to know how to pass variables to the script for 
> various information that I may need, such as policy name, schedule, 
> backup type,
and
> image number. Thanks!

You are looking for bpend_notify.bat it gets placed on the client.

http://ftp.support.veritas.com/pub/support/products/NetBackup_Server/264236.
p
df

Check out the section on notify scripts, PDF page 159

-- 
David Rock
david AT graniteweb DOT com

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


<Prev in Thread] Current Thread [Next in Thread>