Restic: Timestamp nach Durchlauf in Script (#32)
Restic: Timestamp nach Durchlauf in Script Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#32 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
parent
c30cbd0767
commit
6039245172
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ do
|
|||
sleep {{ restic_wartezeit }}
|
||||
abbruch_restic=$(("$abbruch_restic" + 1))
|
||||
fi
|
||||
echo $(date +%d.%m.%Y-%T) # Datum für logfile
|
||||
} >> /var/log/restic.log 2>&1; # leite die komplette Ausgabe in logfile um
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue