31 lines
669 B
YAML
31 lines
669 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_backup:
|
|
- echo "== Dumps starting…"
|
|
- /etc/borgmatic/hooks/dumps
|
|
- echo "== Dumps done."
|