Plan borg: improved scripts.

This commit is contained in:
Christian P. MOMON 2023-03-14 16:19:13 +01:00
parent 8ced70f38b
commit 3791544ed8
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ START_TIME=$(date +"%s")
borgmatic check --verbosity 1
chown -R borg.borg /var/backups/borg/*.repo
echo "====="
DURATION=$(($(date +"%s")-$START_TIME))
echo "Ended at: "$(date)" Duration: "$(printf "%02d:%02d:%02d" $((DURATION/60/60)) $((DURATION/60%60)) $((DURATION%60)))