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

35 lines
728 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}'
retention:
keep_yearly: 1
prefix: 'invalid'
output:
color: false
hooks:
before_everything:
- echo "== Dumps starting…"
- /etc/borgmatic/hooks/dumps
- echo "== Dumps done."