Plan borg: improved scripts.
This commit is contained in:
parent
8ced70f38b
commit
3791544ed8
|
@ -7,6 +7,8 @@ START_TIME=$(date +"%s")
|
||||||
|
|
||||||
borgmatic check --verbosity 1
|
borgmatic check --verbosity 1
|
||||||
|
|
||||||
|
chown -R borg.borg /var/backups/borg/*.repo
|
||||||
|
|
||||||
echo "====="
|
echo "====="
|
||||||
DURATION=$(($(date +"%s")-$START_TIME))
|
DURATION=$(($(date +"%s")-$START_TIME))
|
||||||
echo "Ended at: "$(date)" Duration: "$(printf "%02d:%02d:%02d" $((DURATION/60/60)) $((DURATION/60%60)) $((DURATION%60)))
|
echo "Ended at: "$(date)" Duration: "$(printf "%02d:%02d:%02d" $((DURATION/60/60)) $((DURATION/60%60)) $((DURATION%60)))
|
||||||
|
|
Loading…
Reference in New Issue