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
|
|
|
|
2024-05-30 15:43:53 +02:00
|
|
|
retention:
|
|
|
|
keep_yearly: 1
|
|
|
|
prefix: 'invalid'
|
|
|
|
|
2023-01-15 01:10:38 +01:00
|
|
|
output:
|
|
|
|
color: false
|
2023-03-20 23:45:57 +01:00
|
|
|
|
|
|
|
hooks:
|
2023-08-30 03:47:35 +02:00
|
|
|
before_everything:
|
2023-03-20 23:45:57 +01:00
|
|
|
- echo "== Dumps starting…"
|
|
|
|
- /etc/borgmatic/hooks/dumps
|
|
|
|
- echo "== Dumps done."
|