From 07ce794828dd813eebadd68305c3afa3e6ea0e6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Mathieu?= Date: Wed, 11 Mar 2026 10:59:44 +0100 Subject: [PATCH] Add timestamped Pushover start/end on Tomedo branch --- scripts/agathe_backup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/agathe_backup.sh b/scripts/agathe_backup.sh index 55bab66..0233dbf 100755 --- a/scripts/agathe_backup.sh +++ b/scripts/agathe_backup.sh @@ -93,6 +93,7 @@ TOMEDO_FILES_EXCLUDES="${TOMEDO_DEST_ROOT}/files.excludes" # Hilfsfunktionen # ----------------------------- log() { echo "[$(date +'%F %T')] $*"; } +ts_now() { date +'%F %T'; } send_pushover() { local message="$1" @@ -537,6 +538,8 @@ need_root check_deps acquire_lock +send_pushover "Backup START auf $(hostname) um $(ts_now)." + bringup_wg mount_cifs @@ -550,4 +553,4 @@ borg_local_backup rsync_borg_mirror_to_cifs log "== Fertig. ==" -send_pushover "Backup erfolgreich auf $(hostname) abgeschlossen." +send_pushover "Backup ENDE auf $(hostname) um $(ts_now)."