Plan borg: improved script.
This commit is contained in:
parent
eb49e25972
commit
0f02968365
|
@ -15,6 +15,8 @@ for REPO in $( ls -d *.repo ); do
|
||||||
borg compact "$REPO"
|
borg compact "$REPO"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
df -h /var/backups/borg/.
|
||||||
|
|
||||||
echo "====="
|
echo "====="
|
||||||
DURATION=$(($(date +"%s")-$START_TIME))
|
DURATION=$(($(date +"%s")-$START_TIME))
|
||||||
DURATION=$(printf "%02d:%02d:%02d" $((DURATION/60/60)) $((DURATION/60%60)) $((DURATION%60)))
|
DURATION=$(printf "%02d:%02d:%02d" $((DURATION/60/60)) $((DURATION/60%60)) $((DURATION%60)))
|
||||||
|
|
Loading…
Reference in New Issue