Added informational prompts

This commit is contained in:
Lutchy Horace 2024-01-08 22:25:41 -05:00
parent 69b8b2bbfc
commit 392cdf5edf
1 changed files with 3 additions and 0 deletions

View File

@ -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