Improved Plan B scripts (dumps).
This commit is contained in:
parent
d0a4d2c4e5
commit
17d3a40a00
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue