sauvegardes/Plan Borg/bin/dobackups

58 lines
1.5 KiB
Plaintext
Raw Normal View History

2023-01-16 19:44:21 +01:00
#!/bin/bash
BINDIR=$(dirname "$0")
2023-01-21 16:25:50 +01:00
cd "$BINDIR"
2023-01-16 19:44:21 +01:00
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
2023-01-21 16:25:50 +01:00
## Local machine.
#./dobackup-local
2023-01-16 19:44:21 +01:00
2023-01-21 16:25:50 +01:00
## Routers.
2023-01-16 19:44:21 +01:00
# leparc
# fontainebleau
# gisors
2023-01-21 16:25:50 +01:00
## Libre en Communs machines.
# aunt.libre-en-communs.org
# mother.libre-en-communs.org
#./dobackup-remote dns.libre-en-communs.org
2023-01-16 19:44:21 +01:00
# isengard.libre-en-communs.org
2023-01-21 16:25:50 +01:00
## A-lec
#./dobackup-remote audio.a-lec.org
#./dobackup-remote gestion.a-lec.org
#./dobackup-remote git.a-lec.org
#./dobackup-remote mail.a-lec.org
#-toot.a-lec.org
#./dobackup-remote www.a-lec.org
#./dobackup-remote xmpp.a-lec.org
# Chalec
#./dobackup-remote audio.chalec.org
#./dobackup-remote ctrlv.chalec.org
#./dobackup-remote forge.chalec.org
#./dobackup-remote libreverse.chalec.org
#-nuage.chalec.org
#./dobackup-remote pad.chalec.org
#./dobackup-remote petition.chalec.org
#./dobackup-remote stats.chalec.org
#./dobackup-remote status.chalec.org
#-toot.chalec.org
#-video.chalec.org
#./dobackup-remote visio.chalec.org
#./dobackup-remote www.chalec.org
#./dobackup-remote xmpp.chalec.org
./doreport
2023-01-16 19:44:21 +01:00
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 "================================================================================"