Scheduling backup to start after one completes.
Hi,
I have 2 backup policy - one is for windows(64bit) and other is for RHEL5(32bit).
I have one tape librery with one drive.
My Master server is NBU 7.0 on Solaris 10(64bit).
My question is :-
Is it possible to start the windows backup after the complatation of Linux backup autometically , without providing time.
As the data is very much changing in both the server.
Thanks.
if [ $2 = "NAME OF WINDOWS POLICY" ]
then
OUTF=/usr/openv/netbackup/bin/PARENT_END_CALLED.<NAMEOFWINDOWS POLICY>
if [ -s $OUTF ]
then
/bin/rm -rf $OUTF
fi
if [ ! -f $OUTF ]
then
touch $OUTF
fi
echo ${dateStr} "-----------------------------" >> $OUTF
echo ${dateStr} " CLIENT: $1" >> $OUTF
echo ${dateStr} " POLICY: $2" >> $OUTF
echo ${dateStr} " SCHEDULE: $3" >> $OUTF
echo ${dateStr} "SCHEDULE TYPE: $4" >> $OUTF
echo ${dateStr} " STATUS: $5" >> $OUTF
echo ${dateStr} " STREAM: $6" >> $OUTF
echo ${dateStr} " STREAM_CNT: $7" >> $OUTF
echo ${dateStr} "-----------------------------" >> $OUTF
/<installpath>/openv/netbackup/bin/bpbackup -p <NAME OF LINUX POLICY> -s <NAME OF SCHEDULE TO RUN> -h <NAME OF LINUX CLIENT> -S <MASTERSERVER> -t 0 >> $OUTF
this is just an exmaple and you should test for your enviroment.
if you have a different schedule for fulls on the weekend they you will need to add if statments to test if it is a day you want to run a full then use a different schedule name.
all the info will be in the OUTF file defined. you can look at that or even email it to you if youwant.
make the changes of putiting in the correct info for your enviroment.