add missing log about postgres running in backup.sh

This commit is contained in:
2026-11-15 00:53:51 +01:00
parent ded7407090
commit 633099371d
+2
View File
@@ -149,6 +149,8 @@ if ! compose exec -T postgres pg_isready -U "$POSTGRES_USER" -d "$POSTGRES_DB" >
exit 1
fi
echo "PostgreSQL is running and accepting connections."
# Check if the script is running from an interactive terminal
if [[ ! -r /dev/tty ]]; then
echo "Run this script from an interactive terminal (for example: ssh -t)." >&2