From 17d3a40a006006585bc0bf18ba86e00bfb785bdc Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Mon, 20 Mar 2023 23:51:55 +0100 Subject: [PATCH] Improved Plan B scripts (dumps). --- Plan Borg/bin/deploy-remote | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Plan Borg/bin/deploy-remote b/Plan Borg/bin/deploy-remote index 326f6e1..cf7d836 100755 --- a/Plan Borg/bin/deploy-remote +++ b/Plan Borg/bin/deploy-remote @@ -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