Add: post-backup hook Renamed:setup cms-handeler

Added funtion for runing script after Backup
Renamed bck-util cms-handeler to CMSHook-conf for future compatibility
This commit is contained in:
2021-02-10 12:03:10 +01:00
parent b3d293b8c3
commit 4e4f52bc1d
4 changed files with 8 additions and 3 deletions

View File

@@ -198,4 +198,9 @@ fi
#Deletes Temp Folder
echo "Clean UP"
rm -r "$SENDDIR" && rm -r "$TMPDIR"
rm -r "$SENDDIR" && rm -r "$TMPDIR"
#Check for after Backup hook script
if test -f "$ScriptLocation/Post-backup-hook.sh"; then
source "$ScriptLocation/Post-backup-hook.sh"
fi