sauvegardes/Plan Borg/models/model-conf-remote-client.yaml

31 lines
671 B
YAML

location:
source_directories:
- /etc
- /home
- /opt
- /root
- /srv
- /usr
- /var
repositories:
- ssh://borg@sauvkipeu.libre-en-communs.org/var/backups/borg/{fqdn}.repo
#- ssh://borg@gardefou.libre-en-communs.org/var/backups/borg/{fqdn}.repo
exclude_from:
- /etc/borgmatic/excludes
storage:
ssh_command: ssh -p 222
encryption_passphrase: 'XXXXXXXXXXXXXXXX'
archive_name_format: '{now:%Y-%m-%dT%H:%M}'
output:
color: false
hooks:
before_actions:
- echo "== Dumps starting…"
- /etc/borgmatic/hooks/dumps
- echo "== Dumps done."