[Veritas-bu] multi bpstart/bpend scripts test (NBU3.4) example
2003-09-18 14:04:25
Hello All
As there have been a lot of interest in these scripts, I decided to mail
them to the list.
These scripts are NOT tested with any kind of application/database, our
customer decided to pay for a Netbackup-Extension after all.
But I think they should could get people started.
Regards
Michael
bpstart_notify
#
# Script for of test multi stream bpnotify scripts
#
# Michael Graff Andersen
#
LOCKYES=`ls /tmp/.lock.*`
if [ -z "$LOCKYES" ]; then
echo "BEGIN BACKUP" >> /tmp/bpstart.log
fi
touch /tmp/.lock.$STREAM_NUMBER
echo $STREAM_NUMBER >> /tmp/bpstart.log
bpend_notify
#!/bin/ksh
#
# Script for of test multi stream bpnotify scripts
#
# Michael Graff Andersen
#
echo $STREAM_NUMBER >> /tmp/bpend.log
rm /tmp/.lock.$STREAM_NUMBER
LOCKYES=`ls /tmp/.lock.*`
if [ -z "$LOCKYES" ]; then
echo "END BACKUP" >> /tmp/bpend.log
fi
--
Cybercity Webhosting (http://www.cybercity.dk)
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Veritas-bu] multi bpstart/bpend scripts test (NBU3.4) example,
ida3248b AT post.cybercity DOT dk <=
|
|
|