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