add new and improved backup-scripts system

This commit is contained in:
Jef Roosens 2026-04-04 20:48:50 +02:00
parent 6c77886916
commit 77e6f77aba
Signed by: Jef Roosens
GPG key ID: 21FD3D77D56BAF49
8 changed files with 173 additions and 0 deletions

View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
podman exec -i {{ item.container }} pg_dump -U {{ item.pg_user }} {{ item.database }} |
/usr/bin/gzip --rsyncable |
/usr/local/bin/restic backup --stdin --stdin-filename {{ item.name }}.sql.gz