03-14-2012 05:33 PM
Hi,
Netbackup 7.1 on Solaris 10 with just a standalone drive.
Is there a way of having Netbackup to send email alerts to admin on a day to change tapes?
I got three schedules:
Daily
Weekly
Monthly
Every Monday I need to change to the Weekly tape, backup starts at 18:00 when all gone home.
I would like to get an email alert to admin (Monday morning) so they remember to change that tape.
I could use crontab but it would be nicer to have Netbackup to do it.
Any ideas appreciated.
Cheers,
Roland Soderstrom
Solved! Go to Solution.
03-14-2012 10:19 PM
03-14-2012 06:32 PM
Hi Roland,
You could try customising the backup_exit_notify to send an email after the weekly backup has completed.
backup_exit_notify is run every time any backup is completed.
Dan
03-14-2012 10:19 PM
03-26-2012 09:03 PM
Crontab is probably the way to go.
But I got this crazy idea of setting up a Vault profile, but will that work with only a standalone tape drive?
03-27-2012 12:01 AM
I don't think Vault can be configured without adding a robot first.
Also not sure if just one email will justify the Vault license fee?
I would go with your 'cron' idea.
03-27-2012 12:14 AM
Adding to Mariannes excellent post, I can confirm Vault needs a robot to be configured ...
03-27-2012 06:11 AM
Use NetBAckup OpsCenter - just schedule the tape usage report to be sent through on a Monday morning
03-30-2012 03:39 AM
You can create a script to check the status of the media and schedule it with cron to run every monday.
To send mail to the persons.
03-30-2012 08:00 AM
you can you parent end notify on the master only
this has some nice params passed to it
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
so with this info you can script for your 3 different schedules
you could add some commends to find out the tape number if needed
and send that info via email
I actually have something like this
or if you just want to say - 'Hey Change the tape!" cron is easier
05-21-2012 02:48 PM
I made it simple and just used cron.
thanks for all your input.