diff --git a/borgbackup.sh b/borgbackup.sh index 93169c3..9fff3c3 100755 --- a/borgbackup.sh +++ b/borgbackup.sh @@ -71,8 +71,10 @@ expect eof END_EXPECT ) +echo "Running PREHOOK..." eval $PREHOOK +echo "Running borg backup.." # Save the expect script to a temporary file expect_script_file=$(mktemp) echo "$expect_script" > "$expect_script_file" @@ -86,4 +88,5 @@ $expect_script_file # Clean up the temporary expect script rm -f "$expect_script_file" +echo "Running POSTHOOK..." eval $POSTHOOK \ No newline at end of file