From 392cdf5edfc7f10e576196bc2483d424900a7e46 Mon Sep 17 00:00:00 2001 From: Lutchy Horace Date: Mon, 8 Jan 2024 22:25:41 -0500 Subject: [PATCH] Added informational prompts --- borgbackup.sh | 3 +++ 1 file changed, 3 insertions(+) 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