]> piware.de Git - bin.git/commitdiff
backup: add date to log
authorMartin Pitt <martin@piware.de>
Sun, 14 Jul 2024 04:43:16 +0000 (06:43 +0200)
committerMartin Pitt <martin@piware.de>
Sat, 3 Aug 2024 12:37:35 +0000 (14:37 +0200)
backup

diff --git a/backup b/backup
index f1bef09ac625c834ffd3e2ba3417fdbbd47fd000..9593143256faab903830fe161c99747e30c28bb9 100755 (executable)
--- a/backup
+++ b/backup
@@ -33,6 +33,7 @@ fi
 
 notify-send "Backup started"
 mkdir -p $(dirname $LOG)
+date >> $LOG
 
 $RESTIC backup --exclude-file=$HOME/.config/backup-ignore $HOME >> $LOG 2>&1 || fail
 # TODO: forget --prune policy: https://restic.readthedocs.io/en/stable/060_forget.html