cancel
Showing results for 
Search instead for 
Did you mean: 

alert mails to change tapes

rsm_gbg
Level 5

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
 

1 ACCEPTED SOLUTION

Accepted Solutions

Yasuhisa_Ishika
Level 6
Partner Accredited Certified
Using notify scripts, notification timing is limited by execution timing of each scripts. For example, if you implement mail notification using bpend_notify, notification will be raised soon after each backups. You can not control exactly when it raise. Cron is simple and smart enough for your needs, I think.

View solution in original post

9 REPLIES 9

Dan33
Level 3

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

Yasuhisa_Ishika
Level 6
Partner Accredited Certified
Using notify scripts, notification timing is limited by execution timing of each scripts. For example, if you implement mail notification using bpend_notify, notification will be raised soon after each backups. You can not control exactly when it raise. Cron is simple and smart enough for your needs, I think.

rsm_gbg
Level 5

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?

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

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.

mph999
Level 6
Employee Accredited

Adding to Mariannes excellent post, I can confirm Vault needs a robot to be configured ...

Mark_Solutions
Level 6
Partner Accredited Certified

Use NetBAckup OpsCenter - just schedule the tape usage report to be sent through on a Monday morning

Amarnath_Sathis
Level 5

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.

J_H_Is_gone
Level 6

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

rsm_gbg
Level 5

I made it simple and just used cron.

thanks for all your input.