Add borgmatic monitoring
All checks were successful
ShellCheck / shellcheck (push) Successful in 19s
All checks were successful
ShellCheck / shellcheck (push) Successful in 19s
This commit is contained in:
parent
dd83060357
commit
c294328cb7
7 changed files with 13 additions and 6 deletions
|
@ -5,8 +5,6 @@ source_directories:
|
|||
- /run/host/var/lib/containers/storage/secrets
|
||||
- /run/host/var/lib/containers/storage/volumes/systemd-*
|
||||
- /run/host/var/roothome
|
||||
exclude_patterns:
|
||||
- /run/host/var/lib/containers/storage/volumes/systemd-monero
|
||||
repositories:
|
||||
- label: remote
|
||||
path: ${BORG_REMOTE}
|
||||
|
@ -15,4 +13,9 @@ keep_daily: 7
|
|||
keep_weekly: 4
|
||||
keep_monthly: 3
|
||||
read_special: true
|
||||
loki:
|
||||
url: https://metrics.strypsteen.com/loki/api/v1/push
|
||||
labels:
|
||||
host: __hostname
|
||||
job: borgmatic
|
||||
<<: !include /etc/borgmatic/local.yaml
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
exclude_patterns:
|
||||
- /run/host/var/lib/containers/storage/volumes/systemd-monero
|
||||
postgresql_databases:
|
||||
- name: all
|
||||
hostname: systemd-postgresql
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
exclude_patterns:
|
||||
- /run/host/var/lib/containers/storage/volumes/systemd-forgejo/_data/data/packages
|
||||
postgresql_databases:
|
||||
- name: all
|
||||
hostname: systemd-postgresql
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[Container]
|
||||
Network=immich.network
|
||||
Network=postgresql.network
|
||||
Network=synapse.network
|
||||
Secret=POSTGRES_PASSWORD,type=env
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[Container]
|
||||
Image=docker.io/postgres:16-alpine
|
||||
Image=docker.io/postgres:17-alpine
|
||||
Network=nextcloud.network
|
||||
Network=synapse.network
|
||||
Volume=postgresql.volume:/var/lib/postgresql/data:U,Z
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[Container]
|
||||
Image=docker.io/postgres:16-alpine
|
||||
Image=docker.io/postgres:17-alpine
|
||||
Network=postgresql.network
|
||||
Volume=postgresql.volume:/var/lib/postgresql/data:U,Z
|
||||
Secret=POSTGRES_PASSWORD,type=env
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
Image=ghcr.io/borgmatic-collective/borgmatic
|
||||
SecurityLabelDisable=true
|
||||
UserNS=host
|
||||
HostName=borgmatic
|
||||
HostName=%H
|
||||
Volume=/var/lib/system-config/container-config/borgmatic/config.yaml:/etc/borgmatic/config.yaml:z,ro
|
||||
Volume=/var/lib/system-config/container-config/borgmatic/%H.yaml:/etc/borgmatic/local.yaml:z,ro
|
||||
Volume=/:/run/host:ro
|
||||
|
|
Loading…
Add table
Reference in a new issue