backup soju as sqlite instead of file

This commit is contained in:
2025-07-08 12:46:51 +05:30
parent fdd81ced6b
commit 6c545c9ea2

View File

@ -17,6 +17,7 @@
- /opt
bkp_exclude_patterns:
- /var/log
- /var/soju/main.db
bkp_hc_uuid: 94c410f3-22f4-49f6-9f7f-e6f7b6409ced
tasks:
- name: "Remove useless passphrase line (runs after borgmatic role)"
@ -32,6 +33,9 @@
borg_exclude_patterns: "{{bkp_exclude_patterns}}"
borg_remote_path: /usr/local/bin/borg_1.2.4/borg1
borgmatic_hooks:
sqlite_databases:
- name: soju
path: /var/soju/soju.db
healthchecks:
ping_url: https://healthchecks.projectsegfau.lt/ping/{{bkp_hc_uuid}}
states: