53 lines
1.1 KiB
Bash
Executable File
53 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
BINDIR=$(dirname "$0")
|
|
|
|
echo $BINDIR
|
|
|
|
echo "================================================================================"
|
|
echo " Sauvegardes du "$(date)
|
|
echo "================================================================================"
|
|
START_TIME=$(date +"%s")
|
|
|
|
# Local machine.
|
|
#${BINDIR}/dobackup-local
|
|
|
|
# Main machines.
|
|
# aunt
|
|
# mother
|
|
|
|
# Routers.
|
|
# leparc
|
|
# fontainebleau
|
|
# gisors
|
|
|
|
# Virtual machines.
|
|
# audio
|
|
#${BINDIR}/dobackup-remote audio.chalec.org
|
|
# 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
|
|
#${BINDIR}/dobackup-remote stats.chalec.org
|
|
#${BINDIR}/dobackup-remote status.chalec.org
|
|
# toot
|
|
# toot.chalec.org
|
|
# video.chalec.org
|
|
# visio.chalec.org
|
|
# www
|
|
# www.chalec.org
|
|
# xmpp
|
|
# xmpp.chalec.org
|
|
|
|
echo "====="
|
|
DURATION=$(($(date +"%s")-$START_TIME))
|
|
echo "Ended at: "$(date)" Duration: "$(printf "%02d:%02d:%02d" $((DURATION/60/60)) $((DURATION/60%60)) $((DURATION%60)))
|
|
echo "================================================================================"
|