Skip to content

Show desktop notification about last job run of Veeam Agent for Linux

License

Notifications You must be signed in to change notification settings

fabricat/veeam-result-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Desktop notification about last job run of Veeam Agent for Linux

Veeam Agent for Linux is only availbable through CLI interface, and there is no "tray icon" or similar to show the service and jobs status on your desktop environment.

This bash script shows a desktop notification (using "notify-send") about the latest backup job execution results.

Requirements

  • Veeam Agent for Linux version 3 must be installed and configured
  • the script must be run by a user in the "veeam" group (needed by "veeamconfig")
  • the "notify-send" command must be installed (package "libnotify-bin" on Debian-based distros)

👍 This script can also be lauched from "crontab".

Installation

In the following code, you can change arbitrarily the values of INST_DIR and SCHEDULE (execute man 5 crontab for help on schedule format).

INST_DIR="$(pwd)"
SCHEDULE="00 10 * * Mon-Fri"

cd "$INST_DIR"
git clone https://github.com/fabricat/veeam-result-notify.git

if [ -n "$SCHEDULE" ]; then
  (crontab -l | grep -v 'veeam-result-notify'; echo "${SCHEDULE} ${INST_DIR}/veeam-result-notify/veeam-result-notify.sh" ) | crontab -
fi

Tested on:

  • Linux Mint 19 Tara + Cinnamon
  • Linux Mint 18.3 Sylvia + Cinnamon

About

Show desktop notification about last job run of Veeam Agent for Linux

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages