Added informational prompts
This commit is contained in:
parent
69b8b2bbfc
commit
392cdf5edf
|
@ -71,8 +71,10 @@ expect eof
|
||||||
END_EXPECT
|
END_EXPECT
|
||||||
)
|
)
|
||||||
|
|
||||||
|
echo "Running PREHOOK..."
|
||||||
eval $PREHOOK
|
eval $PREHOOK
|
||||||
|
|
||||||
|
echo "Running borg backup.."
|
||||||
# Save the expect script to a temporary file
|
# Save the expect script to a temporary file
|
||||||
expect_script_file=$(mktemp)
|
expect_script_file=$(mktemp)
|
||||||
echo "$expect_script" > "$expect_script_file"
|
echo "$expect_script" > "$expect_script_file"
|
||||||
|
@ -86,4 +88,5 @@ $expect_script_file
|
||||||
# Clean up the temporary expect script
|
# Clean up the temporary expect script
|
||||||
rm -f "$expect_script_file"
|
rm -f "$expect_script_file"
|
||||||
|
|
||||||
|
echo "Running POSTHOOK..."
|
||||||
eval $POSTHOOK
|
eval $POSTHOOK
|
Loading…
Reference in New Issue