Feature Request: Separate Email Notification for Tape Jobs

Everything about backing up to tape

Feature Request: Separate Email Notification for Tape Jobs

Veeam Logoby cbrasga » Sat Oct 19, 2013 5:08 am

I am the system admin for the company so I receive all of the emails for the backups via the global email notification settings under File > Options. I have a IT support tech that pulls the tapes each day that I would like to get just the tape notifications because the report includes the useful information of which tapes were used, so he can easily pull them.

Currently, he will have to get all of the backup & replication notifications in order to get the tape backup job notifications. Please allow for a separate notification setting on the tape jobs as well.

Thanks,

Cazi
cbrasga
Influencer
 
Posts: 11
Liked: never
Joined: Sat Apr 27, 2013 2:09 am
Full Name: Cazi Brasga

Re: Feature Request: Separate Email Notification for Tape Jo

Veeam Logoby v.Eremin » Mon Oct 21, 2013 7:52 am

Hi,Cazi,

As a potential workaround, you can write and schedule a custom PS script that will initiate a start of tape jobs and send to given addresses an email with required information, once the tape job is finished.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Feature Request: Separate Email Notification for Tape Jo

Veeam Logoby Speights » Sun Nov 24, 2013 10:51 pm

I second that we have managed customers who delegate a user to change tapes and they need an individual notification relating only to the tape backup. Looks like I will have to go back to BE until we get this facility. :(

Gutted cause the tape backup works really well.

Thanks,
Speights
Service Provider
 
Posts: 1
Liked: never
Joined: Sun Nov 24, 2013 10:44 pm

Re: Feature Request: Separate Email Notification for Tape Jo

Veeam Logoby v.Eremin » Mon Nov 25, 2013 8:08 am

As mentioned above, for now you can put into use a custom PS script scheduled via Windows Scheduler. This script will start a given tape job, form a required mail and send it to the said address.

Additionally, we consider adding this functionality in one of the next product releases.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Feature Request: Separate Email Notification for Tape Jo

Veeam Logoby bplancic » Tue Nov 26, 2013 12:16 pm

Hi,

I wrote PS script that triggers on event in event viewer, checks if it is tape backup and sends mail saying that the tape must be changed (and with which tape).

Code: Select all
<#
Script activates on specific event in Event viewer, and sends email if specific text is found in event body.
When sending email script translates day from english to croatian, checks which week is it and which month.
#>

$x = (get-eventlog "Veeam Backup" | where {$_.timegenerated -gt $(get-date).addminutes(-1)}).Message #checks events in event log "Veeam Backup" older than 1 minute
$datum = get-date #2/9/2013 Todays date
$dan = ($datum).DayOfWeek
$tjedan = ($datum).Day
switch ($dan) #Determines day of the week and transletes it from english to croatian
   {
   "Monday" {        #Determines if monday is first monday of month and which month
        if (($tjedan -ge 1) -and ($tjedan -lt 8))
        {$dan = $datum.Month
        switch ($dan)
        {
        "1" {$dan = "Siječanj"}
        "2" {$dan = "Veljača"}
        "3" {$dan = "Ožujak"}
        "4" {$dan = "Travanj"}
        "5" {$dan = "Svibanj"}
        "6" {$dan = "Lipanj"}
        "7" {$dan = "Srpanj"}
        "8" {$dan = "Kolovoz"}
        "9" {$dan = "Rujan"}
        "10" {$dan = "Listopad"}
        "11" {$dan = "Studeni"}
        "12" {$dan = "Prosinac"}
        }
        }
        else {$dan = "Ponedjeljak"}
   }
   "Tuesday" {$dan = "Utorak"}
   "Wednesday" {$dan = "Srijeda"}
   "Thursday" {$dan = "Četvrtak"}
   "Saturday" {$dan = "Ponedjeljak"}
   "Sunday" {$dan = "Ponedjeljak"}
   "Friday"{        #Determines which week of the month is it on friday
        if ($tjedan -le 7)
        {$dan = "1. tjedan"}
        elseif (($tjedan -gt 7) -and ($tjedan -le 14))
        {$dan = "2.tjedan"}
        elseif (($tjedan -gt 14) -and ($tjedan -le 21))
        {$dan = "3.tjedan"}
        elseif (($tjedan -gt 21) -and ($tjedan -le 28))
        {$dan = "4.tjedan"}
        else {$dan = "5.tjedan"}
   }
   }
   
if ($x -eq "Session Traka has been completed.") #Text in event body we are looking for
{
Send-MailMessage -To your_mail@your.domain -From TAPE_VEEAM@your.domain -Subject "Text in mail subject" -bodyashtml -encoding unicode -body "<font face=Arial>Text in message body.<br><br> Put tape <font color=red><b>$dan</b></font>" -smtpserver your_mail_server_FQDN
}
else {
break}
bplancic
Influencer
 
Posts: 16
Liked: never
Joined: Tue Nov 26, 2013 11:37 am


Return to Tape



Who is online

Users browsing this forum: No registered users and 6 guests