From b22c54b0efbf512d19afdcc855989524efa21e23 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sun, 14 Jul 2024 06:43:16 +0200 Subject: [PATCH] backup: add date to log --- backup | 1 + 1 file changed, 1 insertion(+) diff --git a/backup b/backup index f1bef09..9593143 100755 --- 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 -- 2.39.5