sauvegardes/Plan Borg/bin/dobackups

53 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-01-16 19:44:21 +01:00
#!/bin/bash
BINDIR=$(dirname "$0")
echo $BINDIR
echo "================================================================================"
echo " Sauvegardes du "$(date)
echo "================================================================================"
2023-01-20 00:45:52 +01:00
START_TIME=$(date +"%s")
2023-01-16 19:44:21 +01:00
# Local machine.
2023-01-20 00:45:52 +01:00
#${BINDIR}/dobackup-local
2023-01-16 19:44:21 +01:00
# Main machines.
# aunt
# mother
# Routers.
# leparc
# fontainebleau
# gisors
# Virtual machines.
# audio
2023-01-20 00:45:52 +01:00
#${BINDIR}/dobackup-remote audio.chalec.org
2023-01-16 19:44:21 +01:00
# ctrlv.chalec.org
# dns
# forge.chalec.org
# gestion.a-lec.org
# git
# isengard.libre-en-communs.org
# libreverse.chalec.org
# mail
# nuage.chalec.org
# pad.chalec.org
# petition.chalec.org
2023-01-20 00:45:52 +01:00
#${BINDIR}/dobackup-remote stats.chalec.org
2023-01-17 18:24:16 +01:00
#${BINDIR}/dobackup-remote status.chalec.org
2023-01-16 19:44:21 +01:00
# toot
# toot.chalec.org
# video.chalec.org
# visio.chalec.org
# www
# www.chalec.org
# xmpp
# xmpp.chalec.org
echo "====="
2023-01-20 00:45:52 +01:00
DURATION=$(($(date +"%s")-$START_TIME))
echo "Ended at: "$(date)" Duration: "$(printf "%02d:%02d:%02d" $((DURATION/60/60)) $((DURATION/60%60)) $((DURATION%60)))
2023-01-16 19:44:21 +01:00
echo "================================================================================"