Merge branch 'main' of git.a-lec.org:a-lec/commissions/infrastructure/sauvegardes
This commit is contained in:
commit
fef9e503d2
|
@ -221,13 +221,13 @@ C'est le cas nominal. Le principe consiste à configurer le serveur de sauvegard
|
|||
|
||||
## Côté machine à sauvegarder
|
||||
|
||||
Script expérimental (s'arrêtant à l'ajout de la passphrase) :
|
||||
Script expérimental (s'arrêtant à l'ajout de la passphrase, reprendre à ce moment ci-dessous) :
|
||||
```
|
||||
wget -O /tmp/deploy-remote https://git.a-lec.org/a-lec/commissions/infrastructure/sauvegardes/-/raw/main/Plan%20Borg/bin/deploy-remote
|
||||
bash /tmp/deploy-remote
|
||||
```
|
||||
|
||||
Sinon, mode manuel.
|
||||
Sinon, mode manuel ci-après.
|
||||
|
||||
Ajouter les backports bullseye dans `/etc/apt/source.list.d` :
|
||||
```
|
||||
|
@ -258,6 +258,12 @@ cd /etc/borgmatic
|
|||
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
|
||||
```
|
||||
|
||||
Configurer la passphrase dans `/etc/borgmatic/config.yaml` :
|
||||
|
|
Loading…
Reference in New Issue