#!/bin/sh
#  File: sbc_pre_event_group
#
#
# Sesam PRE event procedure for Linux servers
#
# Description: 
#    This script is called from SEP sesam kernel, before 
#    tasks belonging to a task group are read from Sesam database.
#    It gives the user a possibility to add/delete/modify tasks
#    belonging to a task group.
#
# Parameters:
#    $1 = task group name
#
# Examples:             
#    Create vSphere backup tasks: 
#
#       sm_cmd "dir" -F JSON "vsphere" -k 'Backup required=yes' /vcenter-srv| sm_cmd add vspheretask "vsphere_{{client}}_{{source}}_{{count}}"  -t "VMWare vSphere" -O "source_not_found,remove_non_existing" -G $1 -a refresh=true -T _IMG -f - 
