#!/bin/bash -e
# This is a disabled hook example. 
# To enable, make it executable: chmod +x /etc/tklbam/hooks.d/post-restore

# hooks are always called with two arguments
op=$1
state=$2

if [ "$state" = "pre" ] && [ "$op" = "backup" ]; then

    echo "HOOK $0 :: op=$op state=$state pwd=$(pwd) :: "

    # e.g., restart services...

fi

