Plan borg: updates (step).
This commit is contained in:
parent
97b8bfd4ef
commit
3a358ecaf1
|
@ -148,6 +148,13 @@ Installer les paquets nécessaires :
|
||||||
apt install -t bullseye-backports borgmatic borgbackup
|
apt install -t bullseye-backports borgmatic borgbackup
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Créer des clés `ssh` pour l'utilisateur `root` :
|
||||||
|
```
|
||||||
|
mkdir -p ~root/.ssh
|
||||||
|
chmod go-rwx ~/.ssh
|
||||||
|
ssh-keygen -t ed25519
|
||||||
|
```
|
||||||
|
|
||||||
Créer et peupler le dossier de configruation de Borgmatic :
|
Créer et peupler le dossier de configruation de Borgmatic :
|
||||||
```
|
```
|
||||||
mkdir -p /etc/borgmatic
|
mkdir -p /etc/borgmatic
|
||||||
|
|
|
@ -9,8 +9,8 @@ location:
|
||||||
- /var
|
- /var
|
||||||
|
|
||||||
repositories:
|
repositories:
|
||||||
- borg@sauvkipeu.libre-en-communs.org:/var/backups/borg/$(fqdn).repo
|
- borg@sauvkipeu.libre-en-communs.org:/var/backups/borg/{fqdn}.repo
|
||||||
#- borg@gardefou.libre-en-communs.org:/var/backups/borg/$(fqdn).repo
|
#- borg@gardefou.libre-en-communs.org:/var/backups/borg/{fqdn}.repo
|
||||||
|
|
||||||
exclude_from:
|
exclude_from:
|
||||||
- /etc/borgmatic/excludes
|
- /etc/borgmatic/excludes
|
||||||
|
|
Loading…
Reference in New Issue