From: Martin Pitt Date: Sun, 14 Jul 2024 04:43:16 +0000 (+0200) Subject: backup: add date to log X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=b22c54b0efbf512d19afdcc855989524efa21e23;p=bin.git backup: add date to log --- 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