Improved Plan B scripts (dumps).

This commit is contained in:
Christian P. MOMON 2023-03-20 23:51:55 +01:00
parent d0a4d2c4e5
commit 17d3a40a00
1 changed files with 7 additions and 0 deletions

View File

@ -56,6 +56,13 @@ else
URL=https://git.a-lec.org/a-lec/commissions/infrastructure/sauvegardes/-/raw/main/Plan%20Borg/
wget -nv $URL/models/excludes
wget -nv $URL/models/model-conf-remote-client.yaml -O /etc/borgmatic/config.yaml
mkdir -p /etc/borgmatic/hooks/
cd /etc/borgmatic/hooks
wget -nv $URL/bin/dumps
wget -nv $URL/bin/dump-msql
wget -nv $URL/bin/dump-psql
wget -nv $URL/bin/dump-influx
chmod u+x /etc/borgmatic/hooks/dump*
echo "Borgmatic configuration files: DONE"
fi