Plan borg: updates (step).
This commit is contained in:
parent
30a915b0a1
commit
8ae976884d
|
@ -7,9 +7,10 @@ echo $BINDIR
|
|||
echo "================================================================================"
|
||||
echo " Sauvegardes du "$(date)
|
||||
echo "================================================================================"
|
||||
START_TIME=$(date +"%s")
|
||||
|
||||
# Local machine.
|
||||
${BINDIR}/dobackup-local
|
||||
#${BINDIR}/dobackup-local
|
||||
|
||||
# Main machines.
|
||||
# aunt
|
||||
|
@ -22,7 +23,7 @@ ${BINDIR}/dobackup-local
|
|||
|
||||
# Virtual machines.
|
||||
# audio
|
||||
# audio.chalec.org
|
||||
#${BINDIR}/dobackup-remote audio.chalec.org
|
||||
# ctrlv.chalec.org
|
||||
# dns
|
||||
# forge.chalec.org
|
||||
|
@ -34,7 +35,7 @@ ${BINDIR}/dobackup-local
|
|||
# nuage.chalec.org
|
||||
# pad.chalec.org
|
||||
# petition.chalec.org
|
||||
# stats.chalec.org
|
||||
#${BINDIR}/dobackup-remote stats.chalec.org
|
||||
#${BINDIR}/dobackup-remote status.chalec.org
|
||||
# toot
|
||||
# toot.chalec.org
|
||||
|
@ -46,5 +47,6 @@ ${BINDIR}/dobackup-local
|
|||
# xmpp.chalec.org
|
||||
|
||||
echo "====="
|
||||
echo "Ended at: "`date`
|
||||
DURATION=$(($(date +"%s")-$START_TIME))
|
||||
echo "Ended at: "$(date)" Duration: "$(printf "%02d:%02d:%02d" $((DURATION/60/60)) $((DURATION/60%60)) $((DURATION%60)))
|
||||
echo "================================================================================"
|
||||
|
|
|
@ -3,9 +3,11 @@
|
|||
echo "================================================================================"
|
||||
echo " Checks du "$(date)
|
||||
echo "================================================================================"
|
||||
START_TIME=$(date +"%s")
|
||||
|
||||
borgmatic check --verbosity 1
|
||||
|
||||
echo "====="
|
||||
echo "Ended at: "`date`
|
||||
DURATION=$(($(date +"%s")-$START_TIME))
|
||||
echo "Ended at: "$(date)" Duration: "$(printf "%02d:%02d:%02d" $((DURATION/60/60)) $((DURATION/60%60)) $((DURATION%60)))
|
||||
echo "================================================================================"
|
||||
|
|
|
@ -3,9 +3,11 @@
|
|||
echo "================================================================================"
|
||||
echo " Prunes du "$(date)
|
||||
echo "================================================================================"
|
||||
START_TIME=$(date +"%s")
|
||||
|
||||
borgmatic prune --stats --files --verbosity 1
|
||||
|
||||
echo "====="
|
||||
echo "Ended at: "`date`
|
||||
DURATION=$(($(date +"%s")-$START_TIME))
|
||||
echo "Ended at: "$(date)" Duration: "$(printf "%02d:%02d:%02d" $((DURATION/60/60)) $((DURATION/60%60)) $((DURATION%60)))
|
||||
echo "================================================================================"
|
||||
|
|
Loading…
Reference in New Issue