Veritas-bu

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

2007-01-09 07:38:11
Subject: [Veritas-bu] Pre-/Post-Exec scripts with NetBackup 5.1?
From: Patrick.Whelan at colt.net (Whelan, Patrick)
Date: Tue, 9 Jan 2007 12:38:11 -0000
The full format of the bpxxxx_notify file names is:

bstart_notify[.policy_name][.schedule_name]
bpend_notify[.policy_name][.schedule_name]

If the policy allows multiple streams, than the scripts will be called for each 
stream. To activate the scripts, move them to /usr/openv/netbackup/bin and be 
sure they are executable and they do not send output to STDOUT or STDERR, 
otherwise they will fail, as will the backup. If the scripts are going to take 
longer than 300 seconds to run, you will need to increase the timeout, see 
manual as I don't remember the parameter name. One more thing to keep in mind 
is that the file list of what is to be backed up is generated BEFORE the notify 
script is called and can not be changed by the bpstart_notify script.

Regards,

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 12:23
To: veritas-bu at mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre-/Post-Exec scripts with NetBackup 5.1?

Hi!

Whelan, Patrick wrote:
> Look at bpstart_notify and bpend_notify examples in 
> /usr/openv/netbackup/bin/goodies.

Thanks a lot. This seems to be very much what I'm looking for.

Some questions, though. How do I "install" this script? Do I
need to copy it to some special directory?

In the comments it says:

# This script is called by NetBackup when bpbkar is started up on the client
# to do a backup or archive.

Suppose I've got 2 directories in a Backup Selection. Will this script
be started twice? If so, can I somehow find out which directory is
going to be backed up?

Thanks,

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.