Sends notifications from Veeam Backup & Restore to Slack
Switch branches/tags
Clone or download
Latest commit 87d3509 Jan 11, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Helpers initalized Aug 13, 2016
asset/img updated readme Aug 13, 2016
config added icon hosted on github Aug 13, 2016
log initalized Aug 13, 2016
.gitignore initalized Aug 13, 2016
License initalized Aug 13, 2016
README.md updated readme Jan 11, 2017
SlackNotificationBootstrap.ps1 initalized Aug 13, 2016
SlackVeeamAlertSender.ps1 fixed tabs Aug 13, 2016

README.md

Veeam Backup and Restore Notification for Slack

Sends notifications from Veeam Backup & Restore to Slack

Chat Example

If you use Mattermost check this out:


Setup

Make a scripts directory: C:\VeeamScripts

# To make the directory run the following command in PowerShell
New-Item C:\VeeamScripts PowerShell -type directory

Get code

Then clone this repository:

cd C:\VeeamScripts
git clone https://github.com/TheSageColleges/VeeamSlackNotifications.git
cd VeeamSlackNotifications
git checkout v1-stable

Or without git:

Download release, there may be later releases take a look and replace the version number with newer release numbers. Unzip the archive and make sure the folder is called: VeeamSlackNotifications

Invoke-WebRequest -Uri https://github.com/TheSageColleges/VeeamSlackNotifications/archive/v1.0.zip -OutFile C:\VeeamScripts\VeeamSlackNotifications-v1.0.zip

Configure the project:

# Make a new config file
cp C:\VeeamScripts\VeeamSlackNotifications\config\vsn.example.json C:\VeeamScripts\VeeamSlackNotifications\config\vsn.json
# Edit your config file. You must replace the webhook field with your own slack url.
notepad.exe C:\VeeamScripts\VeeamSlackNotifications\config\vsn.json

Finally open Veeam and configure your jobs. Edit them and click on the button.

Navigate to the "Scripts" tab and paste the following line the script that runs after the job is completed:

Powershell.exe -File C:\VeeamScripts\VeeamSlackNotifications\SlackNotificationBootstrap.ps1

screen


Example Configuration:

Below is an example configuration file.

{
	"webhook": "https://hooks.slack.com/services/....",
	"channel": "#veeam",
	"service_name": "VeeamBot",
	"icon_url": "https://raw.githubusercontent.com/TheSageColleges/VeeamSlackNotifications/master/asset/img/icon/veeam_slack.png",
	"debug_log": false
}