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

31 lines
673 B
YAML
Raw Normal View History

2023-01-15 01:10:38 +01:00
location:
source_directories:
- /etc
- /home
- /opt
- /root
- /srv
- /usr
- /var
repositories:
2023-01-18 00:57:34 +01:00
- ssh://borg@sauvkipeu.libre-en-communs.org/var/backups/borg/{fqdn}.repo
2023-03-22 11:36:23 +01:00
- ssh://borg@gardefou.libre-en-communs.org/var/backups/borg/{fqdn}.repo
2023-01-15 01:10:38 +01:00
exclude_from:
- /etc/borgmatic/excludes
storage:
2023-01-17 14:48:03 +01:00
ssh_command: ssh -p 222
encryption_passphrase: 'XXXXXXXXXXXXXXXX'
archive_name_format: '{now:%Y-%m-%dT%H:%M}'
2023-01-15 01:10:38 +01:00
output:
color: false
2023-03-20 23:45:57 +01:00
hooks:
before_everything:
2023-03-20 23:45:57 +01:00
- echo "== Dumps starting…"
- /etc/borgmatic/hooks/dumps
- echo "== Dumps done."