diff --git a/docspell/postgres/statefulset.yaml b/docspell/postgres/statefulset.yaml index e0a5201..5501776 100644 --- a/docspell/postgres/statefulset.yaml +++ b/docspell/postgres/statefulset.yaml @@ -15,6 +15,8 @@ spec: metadata: labels: app: postgres + annotations: + k8up.syn.tools/backupcommand: /bin/bash -c 'PGPASSWORD=${POSTGRES_PASSWORD} pg_dump -U ${POSTGRES_USER} -Fc ${POSTGRES_DB}' spec: terminationGracePeriodSeconds: 10 containers: